diff options
| author | Marc Zyngier <[email protected]> | 2018-12-28 08:31:25 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2018-12-28 20:11:44 +0000 |
| commit | 67a28de47faa83585dd644bd4c31e5a1d9346c50 (patch) | |
| tree | 0ccdb0fb605697cd5627ad17cb18caebd4e013d4 /lib/debugobjects.c | |
| parent | scripts/decodecode: set ARCH when running natively on arm/arm64 (diff) | |
| download | kernel-67a28de47faa83585dd644bd4c31e5a1d9346c50.tar.gz kernel-67a28de47faa83585dd644bd4c31e5a1d9346c50.zip | |
scripts/decode_stacktrace: only strip base path when a prefix of the path
Running something like:
decodecode vmlinux .
leads to interested results where not only the leading "." gets stripped
from the displayed paths, but also anywhere in the string, displaying
something like:
kvm_vcpu_check_block (arch/arm64/kvm/virt/kvm/kvm_mainc:2141)
which doesn't help further processing.
Fix it by only stripping the base path if it is a prefix of the path.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Marc Zyngier <[email protected]>
Cc: Will Deacon <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
