diff options
author | Namhyung Kim <[email protected]> | 2023-01-17 22:05:53 -0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2023-01-18 11:57:19 +0100 |
commit | 31046500c1864b8ab25d1b9846ad10aa3f7b1821 (patch) | |
tree | b5c0d120afc30522f65f58adec7ce526c7d0af77 /scripts/gdb/linux/modules.py | |
parent | 4cf7a136115e96241f9f1089d2b53c47accf3823 (diff) |
perf/core: Add perf_sample_save_callchain() helper
When we save the callchain to the perf sample data, we need to update
the sample flags and the dynamic size. To ensure this is done consistently,
add the perf_sample_save_callchain() helper and convert all call sites.
Suggested-by: Peter Zijlstra <[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/modules.py')
0 files changed, 0 insertions, 0 deletions