diff options
| author | Yabin Cui <yabinc@google.com> | 2024-05-15 12:36:08 -0700 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2024-11-19 09:23:42 +0100 |
| commit | f226805bc5f60adf03783d8e4cbfe303ccecd64e (patch) | |
| tree | 63054f13581f6171d4ccad02d4654e2f17676dce /tools/perf/scripts/python | |
| parent | perf/core: Save raw sample data conditionally based on sample type (diff) | |
| download | linux-f226805bc5f60adf03783d8e4cbfe303ccecd64e.tar.gz linux-f226805bc5f60adf03783d8e4cbfe303ccecd64e.zip | |
perf/core: Check sample_type in perf_sample_save_callchain
Check sample_type in perf_sample_save_callchain() to prevent
saving callchain 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-3-yabinc@google.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
