aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/perf.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/perf.c')
-rw-r--r--tools/perf/perf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/perf.c b/tools/perf/perf.c
index e9683738d89f..a0ae2902f9c9 100644
--- a/tools/perf/perf.c
+++ b/tools/perf/perf.c
@@ -484,6 +484,8 @@ int main(int argc, const char **argv)
484 } 484 }
485 cmd = argv[0]; 485 cmd = argv[0];
486 486
487 test_attr__init();
488
487 /* 489 /*
488 * We use PATH to find perf commands, but we prepend some higher 490 * We use PATH to find perf commands, but we prepend some higher
489 * precedence paths: the "--exec-path" option, the PERF_EXEC_PATH 491 * precedence paths: the "--exec-path" option, the PERF_EXEC_PATH