[RESEND PATCH 2/2] scripts/decode_stacktrace: Only strip base path when a prefix of the path

2018-12-10 Thread Marc Zyngier
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

Re: [PATCH 2/2] scripts/decode_stacktrace: Only strip base path when a prefix of the path

2018-11-22 Thread Mark Rutland
On Thu, Nov 22, 2018 at 12:14:40PM +, Marc Zyngier wrote: > 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: > >

[PATCH 2/2] scripts/decode_stacktrace: Only strip base path when a prefix of the path

2018-11-22 Thread Marc Zyngier
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