Re: [PATCH -tip tracing/kprobes 0/9] tracing/kprobes, perf: perfprobe and kprobe-tracer bugfixes
From: Ingo Molnar
Date: Tue Oct 20 2009 - 02:55:17 EST
* Masami Hiramatsu <mhiramat@xxxxxxxxxx> wrote:
> How about the following syntax?
> <adding>
> perf probe schedule
> perf probe --add schedule
>
> <deleting>
> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/