trace: allow disabling events in events file
commitddde8acc989d9e59b37605d438d5cb6b5ce8fbae
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 26 Oct 2012 11:46:34 +0000 (26 13:46 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 16 Nov 2012 12:12:13 +0000 (16 13:12 +0100)
tree9bfd116fdf631efffbd510bebd770fe4ccb4cc5b
parent81dee729c1a8fccaab8cd978721acca0282f43c9
trace: allow disabling events in events file

Disable trace events prefixed with a '-'.  Useful
to enable a group of tracepoints with exceptions,
like this:

  usb_xhci_port_*
  -usb_xhci_port_read

which will enable all xhci port tracepoints except reads.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
trace/control.c