diff options
author | Namhyung Kim <[email protected]> | 2023-01-17 22:05:58 -0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2023-01-18 11:57:20 +0100 |
commit | f6e707156e1d5d150f288823987bee1ba0104c4c (patch) | |
tree | 079e268b0e399f382cc1ad3221ed0bd1266d75b6 /scripts/gdb/linux/proc.py | |
parent | a7c8d0daa87581cab8435c83cc6ecbfbcb8b60cf (diff) |
perf/core: Introduce perf_prepare_header()
Factor out perf_prepare_header() so that it can call
perf_prepare_sample() without a header if not needed.
Also it checks the filtered_sample_type to avoid duplicate
work when perf_prepare_sample() is called twice (or more).
Suggested-by: Peter Zijlstr <[email protected]>
Signed-off-by: Namhyung Kim <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Tested-by: Jiri Olsa <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Acked-by: Song Liu <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions