Thread (5 messages) 5 messages, 1 author, 2020-09-23

Re: [PATCH v3 bpf-next 0/3] enable BPF_PROG_TEST_RUN for raw_tp

From: Song Liu <hidden>
Date: 2020-09-23 21:51:10
Also in: bpf

On Sep 23, 2020, at 2:33 PM, Song Liu [off-list ref] wrote:

This set enables BPF_PROG_TEST_RUN for raw_tracepoint type programs. This
set also enables running the raw_tp program on a specific CPU. This feature
can be used by user space to trigger programs that access percpu resources,
e.g. perf_event, percpu variables.

Changes v2 => v3:
1. Fix memory leak in the selftest. (Andrii)
2. Use __u64 instead of unsigned long long. (Andrii)

Changes v1 => v2:
1. More checks for retval in the selftest. (John)
2. Remove unnecessary goto in bpf_prog_test_run_raw_tp. (John)
I somehow missed Andrii's other comments and sent v3 too fast. 

Please ignore this version. 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help