Closed liu-song-6 closed 7 months ago
This pull request was exported from Phabricator. Differential Revision: D51870606
This pull request was exported from Phabricator. Differential Revision: D51870606
This pull request has been merged in facebookincubator/dynolog@6e11d89c10625657a06fe2c8ebf41c133991431f.
Summary: This will make the context switch a little faster. Note that we cannot use BPF_PROG_TEST_RUN on tp_btf program. To do the BPF_PROG_TEST_RUN (gather running data to bpf maps on read), we need another raw_tp program, which is not attached, but only used for BPF_PROG_TEST_RUN.
Also, rename the programs as bperf_on_sched_switch and bperf_read_trigger to be more clear that these program belongs to bperf.
Differential Revision: D51870606