Messages in this thread | | | Date | Mon, 21 Nov 2016 21:35:26 +0300 | From | "Kirill A. Shutemov" <> | Subject | Re: [PATCH] scripts/decode_stacktrace.sh: canonicalize basepath and modpath |
| |
On Mon, Nov 21, 2016 at 06:57:26PM +0300, Konstantin Khlebnikov wrote: > On Mon, Nov 21, 2016 at 2:29 PM, Kirill A. Shutemov > <kirill.shutemov@linux.intel.com> wrote: > > I use decode_stacktrace.sh as > > > > $ ./scripts/decode_stacktrace.sh vmlinux . . > > > > It means basepath is equal to "." and decode_stacktrace stips dot from > > the filepath instead of actual basepath. Not very helpful. > > This doesn't work if basepath is some non-existenting directory. > In my case this usually path in pbulder container.
What about "readlink -m"? It should be good enough for you too.
-- Kirill A. Shutemov
| |