We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de6a908 commit 45b4f40Copy full SHA for 45b4f40
tools/perf/builtin-report.c
@@ -429,7 +429,7 @@ static int report__setup_sample_type(struct report *rep)
429
* compatibility, set the bit if it's an old perf data file.
430
*/
431
evlist__for_each_entry(session->evlist, evsel) {
432
- if (strstr(evsel->name, "arm_spe") &&
+ if (strstr(evsel__name(evsel), "arm_spe") &&
433
!(sample_type & PERF_SAMPLE_DATA_SRC)) {
434
evsel->core.attr.sample_type |= PERF_SAMPLE_DATA_SRC;
435
sample_type |= PERF_SAMPLE_DATA_SRC;
0 commit comments