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

2020-09-23 Thread Song Liu
> On Sep 23, 2020, at 2:33 PM, Song Liu 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_e

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

2020-09-23 Thread Song Liu
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