Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757207AbZA2OlP (ORCPT ); Thu, 29 Jan 2009 09:41:15 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753479AbZA2Ok6 (ORCPT ); Thu, 29 Jan 2009 09:40:58 -0500 Received: from fg-out-1718.google.com ([72.14.220.154]:24527 "EHLO fg-out-1718.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753397AbZA2Ok5 (ORCPT ); Thu, 29 Jan 2009 09:40:57 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=dFB9JGirIEovMxU7h1ZcmPZ1eiPELh8bR0aUnRRsQq+mceqtRo0yNQVvkd89dATMpV DWr9BPpc+Hp2ToBV7n3t8Hn5FKoI6WvdGCr1uC2WvpqvyEya+lzAETk9of6H9ZkIQy/G J1q22BpXcdSQcFDk01UWni2dZkP2WRR2xV65U= MIME-Version: 1.0 In-Reply-To: <20090129143120.GS24391@elte.hu> References: <497F69A4.2070007@intel.com> <20090127224303.GB5850@nowhere> <20090127225048.GA4652@nowhere> <20090129140451.GM24391@elte.hu> <20090129143120.GS24391@elte.hu> Date: Thu, 29 Jan 2009 15:40:55 +0100 Message-ID: Subject: Re: [PATCH] tracer for sys_open() - sreadahead From: =?ISO-8859-1?Q?Fr=E9d=E9ric_Weisbecker?= To: Ingo Molnar Cc: "Kok, Auke" , Linux Kernel Mailing List , powertop ml , Arjan van de Ven , srostedt@redhat.com, Arnaldo Carvalho de Melo , "Frank Ch. Eigler" , Neil Horman , Ananth N Mavinakayanahalli , utrace-devel@redhat.com, Roland McGrath Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 952 Lines: 26 2009/1/29 Ingo Molnar : >> >> Several people talked me about utrace and gave some examples about it in >> this discussion. The Api is very convenient to fetch syscall numbers, >> arguments and return values. And the hooks are done in the generic core >> code, so it is arch independent. >> >> The only drawback I can see is that it is not yet merged upstream, in >> need of in-kernel users. If it only depends on this condition, we could >> be these users... >> >> What do you think? > > sure - how do the minimal bits/callbacks look like which enable syscall > tracing? > > Ingo There is a very straightforward example provided by Ananth in there: http://lkml.org/lkml/2009/1/28/59 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/