diff options
author | Wang Nan <[email protected]> | 2016-04-20 18:59:52 +0000 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-04-28 09:58:59 -0300 |
commit | 0c1d46a8796e8309f1ca693e5cad6f318e4b8159 (patch) | |
tree | 498eda9d8a2a2164bcfe409813fe44df2501d1a3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | eca857ab381858450ec2f91f5aaae7f2f7a7a180 (diff) |
perf record: Disable buildid cache options by default in switch output mode
The cost of buildid cache processing is high: reading all events in
output perf.data, opening each elf file to read buildids then copying
them into ~/.debug directory. In switch output mode, these heavy works
block perf from receiving perf events for too long.
Enable no-buildid and no-buildid-cache by default if --switch-output is
provided. Still allow user use --no-no-buildid to explicitly enable
buildid in this case.
Signed-off-by: Wang Nan <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Zefan Li <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: He Kuang <[email protected]>
[ Updated man page ]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions