diff options
author | Daniel T. Lee | 2019-12-05 17:01:13 +0900 |
---|---|---|
committer | Alexei Starovoitov | 2019-12-11 15:27:28 -0800 |
commit | bba1b2a890253528c45aa66cf856f289a215bfbc (patch) | |
tree | 9904527553fc4a39078b9602f0d99ab1905e1e04 /include/linux | |
parent | 7f193c2519a3dcfd61cd5e676b2959370f4b15be (diff) |
samples: bpf: Replace symbol compare of trace_event
Previously, when this sample is added, commit 1c47910ef8013
("samples/bpf: add perf_event+bpf example"), a symbol 'sys_read' and
'sys_write' has been used without no prefixes. But currently there are
no exact symbols with these under kallsyms and this leads to failure.
This commit changes exact compare to substring compare to keep compatible
with exact symbol or prefixed symbol.
Fixes: 1c47910ef8013 ("samples/bpf: add perf_event+bpf example")
Signed-off-by: Daniel T. Lee <danieltimlee@gmail.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20191205080114.19766-2-danieltimlee@gmail.com
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions