Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754191Ab0ALTMv (ORCPT ); Tue, 12 Jan 2010 14:12:51 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753549Ab0ALTMu (ORCPT ); Tue, 12 Jan 2010 14:12:50 -0500 Received: from tx2ehsobe003.messaging.microsoft.com ([65.55.88.13]:16641 "EHLO TX2EHSOBE006.bigfish.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753337Ab0ALTMt (ORCPT ); Tue, 12 Jan 2010 14:12:49 -0500 X-SpamScore: -16 X-BigFish: VPS-16(zz1432R98dNzz1202hz4fhzz2fh6bh61h) X-Spam-TCS-SCL: 0:0 Message-ID: <4B4CC992.3010707@am.sony.com> Date: Tue, 12 Jan 2010 11:12:18 -0800 From: Tim Bird User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: "rostedt@goodmis.org" CC: Frederic Weisbecker , Srikar Dronamraju , Ingo Molnar , Arnaldo Carvalho de Melo , Peter Zijlstra , Ananth N Mavinakayanahalli , utrace-devel , Jim Keniston , Masami Hiramatsu , Maneesh Soni , Mark Wielaard , LKML Subject: Re: [RFC] [PATCH 7/7] Ftrace plugin for Uprobes References: <20100111122521.22050.3654.sendpatchset@srikar.in.ibm.com> <20100111122608.22050.94088.sendpatchset@srikar.in.ibm.com> <20100112045454.GJ5243@nowhere> <1263272933.28171.3804.camel@gandalf.stny.rr.com> In-Reply-To: <1263272933.28171.3804.camel@gandalf.stny.rr.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 12 Jan 2010 19:12:20.0157 (UTC) FILETIME=[29B7F6D0:01CA93BB] X-SEL-encryption-scan: scanned X-Reverse-DNS: mail8.fw-sd.sony.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 753 Lines: 25 Steven Rostedt wrote: > I do this all the time to limit the function tracer to a specific app. > > #!/bin/sh > echo $$ > /debug/tracing/set_ftrace_pid > echo function > /debug/tracing/current_tracer > exec $* This seems pretty handy. You should put this in scripts/tracing. :-) Do you have any other helper scripts you use commonly? -- Tim ============================= Tim Bird Architecture Group Chair, CE Linux Forum Senior Staff Engineer, Sony Corporation of America ============================= -- 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/