diff options
| author | Yisheng Xie <[email protected]> | 2018-03-12 11:25:56 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-03-16 16:56:04 +0000 |
| commit | a3a4a3b37c9b911af4c375b2475cea0fd2b84d38 (patch) | |
| tree | 629b2fd9d848dfe6cc34c46b3d8d4b245fabbb32 /tools/perf/util/llvm-utils.c | |
| parent | perf record: Avoid duplicate call of perf_default_config() (diff) | |
| download | kernel-a3a4a3b37c9b911af4c375b2475cea0fd2b84d38.tar.gz kernel-a3a4a3b37c9b911af4c375b2475cea0fd2b84d38.zip | |
perf top: Fix top.call-graph config option reading
When trying to add the "call-graph" variable for top into the
.perfconfig file, like:
[top]
call-graph = fp
I that perf_top_config() do not parse this variable.
Fix it by calling perf_default_config() when the top.call-graph variable
is set.
Signed-off-by: Yisheng Xie <[email protected]>
Tested-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Wang Nan <[email protected]>
Fixes: b8cbb349061e ("perf config: Bring perf_default_config to the very beginning at main()")
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/llvm-utils.c')
0 files changed, 0 insertions, 0 deletions
