lkml.org 
[lkml]   [2009]   [Oct]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH -tip tracing/kprobes 0/9] tracing/kprobes, perf: perf probe and kprobe-tracer bugfixes

* Masami Hiramatsu <mhiramat@redhat.com> 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


\
 
 \ /
  Last update: 2009-10-20 08:57    [W:0.115 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site