commit | d21460045d9786f7d992412a0d945415feba23a5 | [log] [tgz] |
---|---|---|
author | Namhyung Kim <namhyung@kernel.org> | Tue Apr 09 13:58:26 2024 -0700 |
committer | Namhyung Kim <namhyung@kernel.org> | Tue Apr 09 13:58:26 2024 -0700 |
tree | 5623d307098e2c9809036f40adc843cbdb364156 | |
parent | 6f4aad9876108b0ee045b241d7335b1089050970 [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 the data type profiling and make sure the annotation has the annotated_source before calling symbol__disassemble(). Signed-off-by: Namhyung Kim <namhyung@kernel.org>