Re: [PATCH] perf probe: Ignore tail calls to probed functions

From: Arnaldo Carvalho de Melo
Date: Tue May 12 2015 - 09:40:52 EST


Em Fri, May 01, 2015 at 08:41:57AM +0900, Masami Hiramatsu escreveu:
> On 2015/04/30 23:58, Naveen N. Rao wrote:
> > The frame ends at 0xc0000000000bc27c. I suppose this is why this
> > particular call is a "tail" call. FWIW, systemtap seems to ignore these
> > as well and requires users to explicitly place probes at these call
> > sites if necessary. I print out the caller so that users know.
>
> Ah, OK. That is out of the function frame, thus we can't put probe on it.
> Hmm, we'd better wait for improvement of tail call support in dwarf...
> Anyway, at this point, I'm OK for ignoring the probe point.
>
> Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@xxxxxxxxxxx>

Thanks, applied.

- Arnaldo
--
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/