debug-info filter plugin
authorJulien Desfossez <jdesfossez@efficios.com>
Tue, 31 Jan 2017 18:12:38 +0000 (13:12 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 28 May 2017 16:57:39 +0000 (12:57 -0400)
commit4f45f9bb59b86410a0f872899d1a66d6e1a520c8
treed21cd6936fd8a6c4e95f55cd99905c4516879c83
parent7fcd5734fd11d2238203dbfefff5df4bb5b11758
debug-info filter plugin

This plugin can be inserted in the graph to add the debugging
informations to events that have the necessary context informations (see
the README for usage informations).

Compared to the previous implementation, this version does not only
output the debug informations to the text output, but it adds the
debug_info structure into the CTF events. That way, the plugins and
sinks after this one see the debug_info as part of the event contexts.

The default name of the structure added to the events is "debug_info",
but can be overridden. If this structure already exists in the event
context, it is not added again.

If a trace does not have the ip and vpid event contexts in its stream
class, the trace is copied without adding the "debug_info" structure.

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
28 files changed:
cli/Makefile.am
configure.ac
include/Makefile.am
include/babeltrace/bin-info.h [deleted file]
include/babeltrace/crc32.h [deleted file]
include/babeltrace/dwarf.h [deleted file]
include/babeltrace/utils.h [deleted file]
lib/Makefile.am
lib/bin-info.c [deleted file]
lib/crc32.c [deleted file]
lib/dwarf.c [deleted file]
lib/utils.c [deleted file]
plugins/Makefile.am
plugins/debug-info/Makefile.am [new file with mode: 0644]
plugins/debug-info/bin-info.c [new file with mode: 0644]
plugins/debug-info/bin-info.h [new file with mode: 0644]
plugins/debug-info/copy.c [new file with mode: 0644]
plugins/debug-info/copy.h [new file with mode: 0644]
plugins/debug-info/crc32.c [new file with mode: 0644]
plugins/debug-info/crc32.h [new file with mode: 0644]
plugins/debug-info/debug-info.c [new file with mode: 0644]
plugins/debug-info/debug-info.h [new file with mode: 0644]
plugins/debug-info/dwarf.c [new file with mode: 0644]
plugins/debug-info/dwarf.h [new file with mode: 0644]
plugins/debug-info/plugin.c [new file with mode: 0644]
plugins/debug-info/utils.c [new file with mode: 0644]
plugins/debug-info/utils.h [new file with mode: 0644]
tests/lib/Makefile.am
This page took 0.026861 seconds and 4 git commands to generate.