mirror of
https://github.com/varun-r-mallya/Python-BPF.git
synced 2025-12-31 21:06:25 +00:00
remove line numbers from debug info
Signed-off-by: varun-r-mallya <varunrmallya@gmail.com>
This commit is contained in:
@ -10,13 +10,6 @@ struct {
|
||||
__type(value, u64);
|
||||
} last SEC(".maps");
|
||||
|
||||
struct {
|
||||
__uint(type, BPF_MAP_TYPE_HASH);
|
||||
__uint(max_entries, 1);
|
||||
__type(key, u64);
|
||||
__type(value, u64);
|
||||
} last2 SEC(".maps");
|
||||
|
||||
SEC("tracepoint/syscalls/sys_enter_execve")
|
||||
int hello(struct pt_regs *ctx) {
|
||||
bpf_printk("Hello, World!\n");
|
||||
|
||||
Reference in New Issue
Block a user