Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752103AbZJTOZy (ORCPT ); Tue, 20 Oct 2009 10:25:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751271AbZJTOZy (ORCPT ); Tue, 20 Oct 2009 10:25:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:30957 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750795AbZJTOZx (ORCPT ); Tue, 20 Oct 2009 10:25:53 -0400 Message-ID: <4ADDC8BB.3030207@redhat.com> Date: Tue, 20 Oct 2009 10:27:07 -0400 From: Masami Hiramatsu User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.4pre) Gecko/20090922 Fedora/3.0-2.7.b4.fc11 Thunderbird/3.0b4 MIME-Version: 1.0 To: Ingo Molnar 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 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> <20091020065426.GN8550@elte.hu> In-Reply-To: <20091020065426.GN8550@elte.hu> 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: 1234 Lines: 46 Ingo Molnar wrote: > > * 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. Ah, that's a nice idea :-), it allows user to delete a group of probes, like --del "schedule*". > 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). Sure. 'perf probe --save file' & 'perf probe --restore file' will be fine for me. Thank you, -- Masami Hiramatsu Software Engineer Hitachi Computer Products (America), Inc. Software Solutions Division e-mail: mhiramat@redhat.com -- 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/