lkml.org 
[lkml]   [2015]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v11 14/28] tracing: Add hist trigger support for clearing a trace
    On Thu, Oct 22, 2015 at 01:14:18PM -0500, Tom Zanussi wrote:
    > Allow users to append 'clear' to an existing trigger in order to have
    > the hash table cleared.

    Same as the previous comment: It'd be better not creating a new hist
    if given hist doesn't exist.

    Thanks,
    Namhyung


    >
    > This expands the hist trigger syntax from this:
    > # echo hist:keys=xxx:vals=yyy:sort=zzz.descending:pause/cont \
    > [ if filter] > event/trigger
    >
    > to this:
    >
    > # echo hist:keys=xxx:vals=yyy:sort=zzz.descending:pause/cont/clear \
    > [ if filter] > event/trigger
    >
    > Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
    > Tested-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
    >


    \
     
     \ /
      Last update: 2015-11-03 10:01    [W:4.597 / U:0.284 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site