aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/bpf-script-example.c
diff options
context:
space:
mode:
authorNicholas Piggin <[email protected]>2023-01-12 10:54:26 +0000
committerLuis Chamberlain <[email protected]>2023-01-13 23:09:08 +0000
commitda35048f2600633a7f9ba5fa7d6e3b1d0195938b (patch)
tree5fe3f95f279a3f842fba99852a25e3f71d7f7ccd /tools/perf/tests/bpf-script-example.c
parentLinux 6.2-rc2 (diff)
downloadkernel-da35048f2600633a7f9ba5fa7d6e3b1d0195938b.tar.gz
kernel-da35048f2600633a7f9ba5fa7d6e3b1d0195938b.zip
kallsyms: Fix scheduling with interrupts disabled in self-test
kallsyms_on_each* may schedule so must not be called with interrupts disabled. The iteration function could disable interrupts, but this also changes lookup_symbol() to match the change to the other timing code. Reported-by: Erhard F. <[email protected]> Link: https://lore.kernel.org/all/[email protected]%2F/ Reported-by: kernel test robot <[email protected]> Link: https://lore.kernel.org/oe-lkp/[email protected] Fixes: 30f3bb09778d ("kallsyms: Add self-test facility") Tested-by: "Erhard F." <[email protected]> Signed-off-by: Nicholas Piggin <[email protected]> Signed-off-by: Luis Chamberlain <[email protected]>
Diffstat (limited to 'tools/perf/tests/bpf-script-example.c')
0 files changed, 0 insertions, 0 deletions