diff options
author | Yabin Cui <yabinc@google.com> | 2024-05-15 12:36:09 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2024-11-19 09:23:42 +0100 |
commit | faac6f105ef169e2e5678c14e1ffebf2a7d780b6 (patch) | |
tree | c16e4ff16f3e89e6b58192f93e850733ac9f2ebd /scripts/gdb/linux/utils.py | |
parent | f226805bc5f60adf03783d8e4cbfe303ccecd64e (diff) |
perf/core: Check sample_type in perf_sample_save_brstack
Check sample_type in perf_sample_save_brstack() to prevent
saving branch stack data when it isn't required.
Suggested-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Yabin Cui <yabinc@google.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Ian Rogers <irogers@google.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20240515193610.2350456-4-yabinc@google.com
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions