Skip to content

MMartin5/trace-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

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)

About

Trace editor plugin for Babeltrace

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published