Skip to content

Conversation

liu-song-6
Copy link
Contributor

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

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Dec 6, 2023
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D51870606

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.

Reviewed By: bigzachattack

Differential Revision: D51870606
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D51870606

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 6e11d89.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants