summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorKan Liang <kan.liang@linux.intel.com>2025-03-14 20:26:57 +0300
committerPeter Zijlstra <peterz@infradead.org>2025-03-17 13:23:37 +0300
commitd57e94f5b891925e4f2796266eba31edd5a01903 (patch)
treeb29973bfd3b1725de8cdfea2d3540f374b2566d6 /tools/testing/selftests/bpf/prog_tests/autoload.c
parent506e64e710ff9573fd2b86686528762b7901b5e4 (diff)
downloadlinux-d57e94f5b891925e4f2796266eba31edd5a01903.tar.xz
perf: Supply task information to sched_task()
To save/restore LBR call stack data in system-wide mode, the task_struct information is required. Extend the parameters of sched_task() to supply task_struct information. When schedule in, the LBR call stack data for new task will be restored. When schedule out, the LBR call stack data for old task will be saved. Only need to pass the required task_struct information. Signed-off-by: Kan Liang <kan.liang@linux.intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/20250314172700.438923-4-kan.liang@linux.intel.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions