Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753915AbdGSOVO (ORCPT ); Wed, 19 Jul 2017 10:21:14 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:44252 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753439AbdGSOVM (ORCPT ); Wed, 19 Jul 2017 10:21:12 -0400 Date: Wed, 19 Jul 2017 16:21:06 +0200 From: Greg Kroah-Hartman To: Piotr Gregor Cc: Ian Abbott , H Hartley Sweeten , linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org Subject: Re: [PATCH] drivers: staging: comedi: Add ftrace support Message-ID: <20170719142106.GA30753@kroah.com> References: <20170719135724.3oqaeojico7dxyj5@debian1.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170719135724.3oqaeojico7dxyj5@debian1.home> User-Agent: Mutt/1.8.3 (2017-05-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 380 Lines: 13 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