How to disable the log prefix of bpf_trace_printk
- Dominant language
- C
- Stars
- 22.7k
- Forks
- 4.1k
- Avg merge
- 10d 4h
- Merged PRs (30d)
- 3
Description
When I use bpf_trace_printk to output logs, it always has the prefix "bpf_trace_printk", which is useless. Does anyone know how to disable it?
```
bpf_trace_printk:#########################
bpf_trace_printk:#########################
bpf_trace_printk:From service to client
bpf_trace_printk: ep_to_client_key(src) is:
```
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue does not name any files, tests, or entry points beyond bpf_trace_printk. Start by investigating how bpf_trace_printk formats its output and whether the bpf_trace_printk prefix can be disabled; done would be a documented or implemented way to produce the requested output without that prefix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- observability
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100