Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755747AbZJTGzF (ORCPT ); Tue, 20 Oct 2009 02:55:05 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755394AbZJTGzE (ORCPT ); Tue, 20 Oct 2009 02:55:04 -0400 Received: from mx3.mail.elte.hu ([157.181.1.138]:39302 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755664AbZJTGzD (ORCPT ); Tue, 20 Oct 2009 02:55:03 -0400 Date: Tue, 20 Oct 2009 08:54:26 +0200 From: Ingo Molnar To: Masami Hiramatsu Cc: Frederic Weisbecker , Steven Rostedt , lkml , Thomas Gleixner , Arnaldo Carvalho de Melo , Mike Galbraith , Paul Mackerras , Peter Zijlstra , Christoph Hellwig , Ananth N Mavinakayanahalli , Jim Keniston , "Frank Ch. Eigler" , "H. Peter Anvin" , systemtap , DLE Subject: Re: [PATCH -tip tracing/kprobes 0/9] tracing/kprobes, perf: perf probe and kprobe-tracer bugfixes Message-ID: <20091020065426.GN8550@elte.hu> References: <20091017000711.16556.69935.stgit@dhcp-100-2-132.bos.redhat.com> <20091017080203.GA4155@elte.hu> <20091017103427.GA31238@elte.hu> <4ADAAF50.9040604@redhat.com> <20091019075103.GF17960@elte.hu> <4ADCB655.2020101@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4ADCB655.2020101@redhat.com> User-Agent: Mutt/1.5.19 (2009-01-05) X-ELTE-SpamScore: 0.0 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=0.0 required=5.9 tests=none autolearn=no SpamAssassin version=3.2.5 _SUMMARY_ Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 858 Lines: 30 * Masami Hiramatsu wrote: > How about the following syntax? > > perf probe schedule > perf probe --add schedule > > > perf probe --del schedule > perf probe --del all /* delete all probepoints */ > > So, this doesn't symmetric, but provides simple way to add a probe. agreed. For deletion, eventually this: perf probe --del "*" should also work - as should other regexp (or glob) matches on a range of existing probes. plus there should be a perf probe call to output all current probes as perf probe commands - so that it can be saved (and restored). Ingo -- 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/