diff options
| author | Namhyung Kim <[email protected]> | 2024-04-10 20:32:56 -0700 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2024-04-12 12:02:06 -0300 |
| commit | 6cdd977ec24e1538b35a08bde823a74b69e829f2 (patch) | |
| tree | ba2501e9fde4c2c30e431a48634b9445069ad0aa /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 0bfbe661a21f7c77a22eb978e0de3b672041e502 (diff) | |
perf report: Do not collect sample histogram unnecessarily
The data type profiling alone doesn't need the sample histogram for
functions. It only needs the histogram for the types.
Let's remove the condition in the report_callback to check if data type
profiling is selected and make sure the annotation has the 'struct
annotated_source' instantiated before calling symbol__disassemble().
Reviewed-by: Ian Rogers <[email protected]>
Signed-off-by: Namhyung Kim <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions