public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* perf: relative path to source for perf probe?
@ 2010-05-13 14:13 Chase Douglas
  2010-05-13 14:58 ` Arnaldo Carvalho de Melo
  2010-05-13 21:00 ` Masami Hiramatsu
  0 siblings, 2 replies; 11+ messages in thread
From: Chase Douglas @ 2010-05-13 14:13 UTC (permalink / raw)
  To: linux-kernel
  Cc: Peter Zijlstra, Paul Mackerras, Ingo Molnar,
	Arnaldo Carvalho de Melo

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-05-13 22:11 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-13 14:13 perf: relative path to source for perf probe? Chase Douglas
2010-05-13 14:58 ` Arnaldo Carvalho de Melo
2010-05-13 15:51   ` Chase Douglas
2010-05-13 17:36     ` Arnaldo Carvalho de Melo
2010-05-13 16:01   ` Chase Douglas
2010-05-13 17:34     ` Arnaldo Carvalho de Melo
2010-05-13 21:23       ` Masami Hiramatsu
2010-05-13 21:46         ` Arnaldo Carvalho de Melo
2010-05-13 22:10           ` Chase Douglas
2010-05-13 22:11           ` Masami Hiramatsu
2010-05-13 21:00 ` Masami Hiramatsu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox