perf: relative path to source for perf probe?
From: Chase Douglas
Date: Thu May 13 2010 - 10:13:48 EST
I'm trying to play with perf probe to insert trace events into a
running kernel, but I haven't found a way to specify relative
pathnames. For example, our build machines for Ubuntu build the kernel
inside /build/buildd/linux-2.6.34. If I want to use perf probe, it
seems I need to ensure the source exists in exactly the same location
on my machine.
Compare this to gdb, where I can put the source at
/home/cndougla/perf/build/buildd/linux-2.6.34 and specify a relative
path for sources of /home/cndougla/perf using the dir command. I have
read the perf code and I have not found any way to do this. I would be
interested in adding support for this as a cmd line option, but I'm
not very familiar with the rest of perf. Is this functionality
specific to perf-probe? Should this be in some logic in util/ or in
builtin-probe.c?
Thanks,
-- Chase
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/