trace: added ability to comment out events in the list
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Thu, 14 Jun 2012 04:41:40 +0000 (14:41 +1000)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Thu, 19 Jul 2012 10:30:37 +0000 (11:30 +0100)
commit794b1f962eb3b1ceb6bbb98dd7a57f62fc0fbc11
tree9b7b3215dca607b8a1b6ba4119b9eed42fff5d3a
parentdfe1ce5d80cba603bafaac91b239d683abe19cf7
trace: added ability to comment out events in the list

It is convenient for debug to be able to switch on/off some events easily.
The only possibility now is to remove event name from the file completely
and type it again when we want it back.

The patch adds '#' symbol handling as a comment specifier.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
trace/control.c