diff options
author | Lin Ming <[email protected]> | 2011-03-03 23:23:57 +0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2011-03-09 13:44:10 -0300 |
commit | 7ee235efe5f86f239ce73915fd2e15f4d14259c6 (patch) | |
tree | 25d412900cde7670239bdfdf0fee90103122bf61 /tools/perf/util/trace-event-scripting.c | |
parent | a639dc64e52183a361c260e562e73b0800b89072 (diff) |
perf symbols: Avoid resolving [kernel.kallsyms] to real path for buildid cache
kallsyms has a virtual file name [kernel.kallsyms]. Currently, it can't
be added to buildid cache successfully because the code
(build_id_cache__add_s) tries to resolve [kernel.kallsyms] to a real
absolute pathname and that fails.
Fixes it by not resolving it and just use the name [kernel.kallsyms].
So dir ~/.debug/[kernel.kallsyms] is created.
Original bug report at:
https://lkml.org/lkml/2011/3/1/524
Tested-by: Han Pingtian <[email protected]>
Cc: Han Pingtian <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Peter Zijlstra <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Lin Ming <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions