On 2015/06/30 0:00, Arnaldo Carvalho de Melo wrote: > Em Sun, Jun 28, 2015 at 05:46:51PM +0200, Benjamin King escreveu: >> Hi Brendan >> >>> Is there a trick to getting perf to probe a user-level address without >>> debuginfo? Eg (on Linux 4.0): >>> [...] >>> I can do this using ftrace ok, eg, "p:tick_0x583 /root/tick:0x583" >>> works. Thanks, >> >> Not quite what you have asked for, but you can add the probe via ftrace and >> then use it from perf. Probes from /sys/kernel/debug/tracing/uprobe_events >> will show up in 'perf list' as well. > > Masami, > > Is this already possible?
Yes, it should be possible. However, I don't recommend you to probe the address inside a function without debuginfo. You must check the instruction boundary in that case. > > - Arnaldo > > P.S.: If you're not subscribed to this list, please consider it :-) Oh, I didn't know the list! I will. Thanks! > -- Masami HIRAMATSU Linux Technology Research Center, System Productivity Research Dept. Center for Technology Innovation - Systems Engineering Hitachi, Ltd., Research & Development Group E-mail: [email protected] -- To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
