-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
24 lines (20 loc) · 1.4 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Write a new trace, with one event deleted:
babeltrace <path to existing trace> --component sink.trace-editor.editor --name editor --path <path to new trace> --params delete=<index of event to delete>
babeltrace <path to existing trace> --component sink.trace-editor.editor --name editor --path <path to new trace> --params 'delete="<indexes of events to delete, separated by a comma>"'
babeltrace <path to existing trace> --component sink.trace-editor.editor --name editor --path <path to new trace> --params 'delete-interval="<first index of interval of events to delete>:<last index of interval of events to delete>"'
Use this plugin:
1. add the paths to Makefile of the plugin to the "AC_CONFIG_FILES" variable in configure.ac file + add plugin root to "SUBDIRS" variable in Makefile.am file from plugins directory
2. copy the "plugin/" directory to the <babeltrace source code root>/plugins/
3. ./bootstrap
4. ./configure (from root of babeltrace source code)
5. make
6. make install
7. ldconfig
References:
* split string : https://stackoverflow.com/a/26228023
* glib problem at "make" time : https://askubuntu.com/a/582385
Credits:
Babeltrace :
* see the project main page and documentation: http://diamon.org/babeltrace/
* get the source code: http://git.linuxfoundation.org/?p=diamon/babeltrace.git
WARNING : some code is duplicated from the fs-sink.ctf plugin (basically everything except for the handling of events)