summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorEmil Dahl Juhl <emdj@bang-olufsen.dk>2024-10-15 20:18:26 +0300
committerDaniel Lezcano <daniel.lezcano@linaro.org>2024-11-04 17:38:29 +0300
commitfcd54cf480c87b96313a97dbf898c644b7bb3a2e (patch)
treecf059a54788afb533c4bb07eb10516fda9b6ece2 /tools/perf/scripts/python/syscall-counts-by-pid.py
parentf16beaaee248eaa37ad40b5905924fcf70ae02e3 (diff)
downloadlinux-fcd54cf480c87b96313a97dbf898c644b7bb3a2e.tar.xz
tools/lib/thermal: Fix sampling handler context ptr
The sampling handler, provided by the user alongside a void* context, was invoked with an internal structure instead of the user context. Correct the invocation of the sampling handler to pass the user context pointer instead. Note that the approach taken is similar to that in events.c, and will reduce the chances of this mistake happening if additional sampling callbacks are added. Fixes: 47c4b0de080a ("tools/lib/thermal: Add a thermal library") Signed-off-by: Emil Dahl Juhl <emdj@bang-olufsen.dk> Link: https://lore.kernel.org/r/20241015171826.170154-1-emdj@bang-olufsen.dk Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions