[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191123055151.9990-1-danieltimlee@gmail.com>
Date: Sat, 23 Nov 2019 14:51:49 +0900
From: "Daniel T. Lee" <danieltimlee@...il.com>
To: Daniel Borkmann <daniel@...earbox.net>,
Alexei Starovoitov <ast@...nel.org>
Cc: netdev@...r.kernel.org, bpf@...r.kernel.org
Subject: [PATCH,bpf-next 0/2] Fix broken samples due to symbol mismatch
Currently, there are broken samples due to symbol mismatch (missing or
unused symbols). For example, the function open() calls the syscall
'sys_openat' instead of 'sys_open'. And there are no exact symbols such
as 'sys_read' or 'sys_write' under kallsyms, instead the symbols have
prefixes. And these error leads to broke of samples.
This Patchset fixes the problem by changing the symbol match.
Daniel T. Lee (2):
samples: bpf: replace symbol compare of trace_event
samples: bpf: fix syscall_tp due to unused syscall
samples/bpf/syscall_tp_kern.c | 14 ++++++++++++++
samples/bpf/trace_event_user.c | 4 ++--
2 files changed, 16 insertions(+), 2 deletions(-)
--
2.24.0
Powered by blists - more mailing lists