aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorDave Marchevsky <[email protected]>2021-09-17 11:29:10 -0700
committerAlexei Starovoitov <[email protected]>2021-09-17 14:02:06 -0700
commit7606729fe24e163923430a5df9d50a246b22d287 (patch)
tree3ef4883927fe379215ff359f4a6d226c672e8b86 /tools/perf/scripts/python/mem-phys-addr.py
parentd313d45a226fdc59739c3da05bbd065f71bae5a6 (diff)
selftests/bpf: Add trace_vprintk test prog
This commit adds a test prog for vprintk which confirms that: * bpf_trace_vprintk is writing to /sys/kernel/debug/tracing/trace_pipe * __bpf_vprintk macro works as expected * >3 args are printed * bpf_printk w/ 0 format args compiles * bpf_trace_vprintk call w/ a fmt specifier but NULL fmt data fails Approach and code are borrowed from trace_printk test. Signed-off-by: Dave Marchevsky <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions