Re: [PATCH] drivers: staging: comedi: Add ftrace support

From: Greg Kroah-Hartman
Date: Wed Jul 19 2017 - 10:21:18 EST


On Wed, Jul 19, 2017 at 02:57:28PM +0100, Piotr Gregor wrote:
> + * Id : Description
> + * 0 Enter the interrupt of amplc_dio200_common
> + * 1 Called from same ISR of amplc_dio200_common if IRQ is handled

That is a very device-specific tracepoint, do we really want each driver
to be able to set these up?

Why can't ftrace handle this type of thing instead?

thanks,

greg k-h