RE: ftrace not showing the process names for all processes on syscall events

From: David Laight
Date: Mon Mar 30 2020 - 14:14:43 EST


From: Steven Rostedt
> Sent: 30 March 2020 19:08
> On Mon, 30 Mar 2020 15:34:08 +0000
> David Laight <David.Laight@xxxxxxxxxx> wrote:
>
> > Oh, does the 'function_graph' code ignore tail calls?
>
> Yes and no ;-) It works by dumb luck. As it was a year after function
> graph tracing was live (some time in 2010 I believe) that someone brought
> up tail calls, and I had to take a look at how it never crashed, and was
> surprised that it "just worked". Here's a summary:

'Dumb luck' seems to be failing me :-)
I'll look more closely tomorrow.

David

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)