diff options
author | Namhyung Kim <[email protected]> | 2023-01-17 22:05:55 -0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2023-01-18 11:57:20 +0100 |
commit | eb55b455ef9c7123bdfa7e8a7f1ebeaa8034eb83 (patch) | |
tree | c1a9039f102d7cae4cc1a49f97884b373aa7dac3 /scripts/gdb/linux/modules.py | |
parent | 0a9081cf0a11770f6b0affd377db8caa3ec4c793 (diff) |
perf/core: Add perf_sample_save_brstack() helper
When we saves the branch stack to the perf sample data, we needs to
update the sample flags and the dynamic size. To make sure this is
done consistently, add the perf_sample_save_brstack() 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: Athira Rajeev <[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