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

2017-07-20 Thread Dan Carpenter
;) ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

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

2017-07-19 Thread Piotr Gregor
On Wed, Jul 19, 2017 at 2:25 PM, Dan Carpenter wrote: > Everyone please delete this confidential email. Piotr is leakier than > the Trump administration! > Sanity level of Dan's assessments is less than half the average level of Hillary's supporter!

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

2017-07-19 Thread Piotr Gregor
On Wed, Jul 19, 2017 at 04:21:06PM +0200, Greg Kroah-Hartman wrote: > 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 > >

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

2017-07-19 Thread Greg Kroah-Hartman
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

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

2017-07-19 Thread Piotr Gregor
This patch originates from the need to measure latency introduced by driver for Amplicon's PCIE215 during interrupt handling. Added is a single ftrace event: /* * Tracepoint for calling from various places inside Comedi. * Takes simple id and prints it to the trace log if trace * events from

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

2017-07-19 Thread Dan Carpenter
Everyone please delete this confidential email. Piotr is leakier than the Trump administration! ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

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

2017-07-19 Thread Piotr Gregor
This patch originates from the need to measure latency introduced by driver for Amplicon's PCIE215 during interrupt handling. Added is a single ftrace event: /* * Tracepoint for calling from various places inside Comedi. * Takes simple id and prints it to the trace log if trace * events from

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

2017-07-19 Thread Greg Kroah-Hartman
On Wed, Jul 19, 2017 at 12:30:28PM +0100, Piotr Gregor wrote: > > The information contained in this e-mail is confidential. It may also be > legally privileged. It is only intended for the stated addressee(s) and > access to it by any other person is unauthorised. > > If you are not an