aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/timer_mim.c
diff options
context:
space:
mode:
authorAlexei Starovoitov <[email protected]>2022-05-12 01:16:55 +0000
committerAlexei Starovoitov <[email protected]>2022-05-12 01:16:55 +0000
commit0bed8f374a9981d94c6b03376925419ef588f44a (patch)
tree838c1e08c3b57feea8ff26e4c648e36bce8d9cc2 /tools/testing/selftests/bpf/prog_tests/timer_mim.c
parentMerge branch 'Follow ups for kptr series' (diff)
parentselftests/bpf: add test case for bpf_map_lookup_percpu_elem (diff)
downloadkernel-0bed8f374a9981d94c6b03376925419ef588f44a.tar.gz
kernel-0bed8f374a9981d94c6b03376925419ef588f44a.zip
Merge branch 'Introduce access remote cpu elem support in BPF percpu map'
Feng zhou says: ==================== From: Feng Zhou <[email protected]> Trace some functions, such as enqueue_task_fair, need to access the corresponding cpu, not the current cpu, and bpf_map_lookup_elem percpu map cannot do it. So add bpf_map_lookup_percpu_elem to accomplish it for percpu_array_map, percpu_hash_map, lru_percpu_hash_map. v1->v2: Addressed comments from Alexei Starovoitov. - add a selftest for bpf_map_lookup_percpu_elem. ==================== Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/timer_mim.c')
0 files changed, 0 insertions, 0 deletions