[lkml]   [2009]   [Oct]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH -tip tracing/kprobes 0/9] tracing/kprobes, perf: perf probe and kprobe-tracer bugfixes
    Ingo Molnar wrote:
    > * Masami Hiramatsu <> 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.

    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


     \ /
      Last update: 2009-10-20 16:29    [W:0.022 / U:1.236 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site