diff options
| author | Kan Liang <[email protected]> | 2025-03-14 17:26:57 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2025-03-17 10:23:37 +0000 |
| commit | d57e94f5b891925e4f2796266eba31edd5a01903 (patch) | |
| tree | b29973bfd3b1725de8cdfea2d3540f374b2566d6 /net/unix/af_unix.c | |
| parent | perf: attach/detach PMU specific data (diff) | |
| download | kernel-d57e94f5b891925e4f2796266eba31edd5a01903.tar.gz kernel-d57e94f5b891925e4f2796266eba31edd5a01903.zip | |
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 <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
