Statistics
| Branch: | Revision:

root / trace @ c2162a8b

Name Size
control.c 1.1 kB
control.h 1.2 kB
default.c 1.2 kB
simple.c 8.8 kB
simple.h 1.2 kB
stderr.c 898 Bytes
stderr.h 182 Bytes

Latest revisions

# Date Author Comment
fc764105 09/01/2011 12:34 pm Lluís

trace: separate trace event control and query routines from the simple backend

Generalize the 'st_print_trace_events' and 'st_change_trace_event_state' into
backend-specific 'trace_print_events' and 'trace_event_set_state' (respectively)
in the "trace/control.h" file....

23d15e86 09/01/2011 12:34 pm Lluís

trace: add "-trace events" argument to control initial state

The "-trace events" argument can be used to provide a file with a list of trace
event names that will be enabled prior to starting execution, thus providing
early tracing.

This saves the user from manually toggling event states through the monitor...

9a82b6a5 09/01/2011 12:34 pm Lluís

trace: [stderr] add support for dynamically enabling/disabling events

Uses the generic interface provided in "trace/control.h" in order to provide
a programmatic interface as well as command line and monitor controls.

Signed-off-by: Fabien Chouteau <>...

edb47ec4 09/01/2011 12:34 pm Lluís

trace: move backend-specific code into the trace/ directory

Signed-off-by: Lluís Vilanova <>

e4858974 09/01/2011 12:34 pm Lluís

trace: avoid conditional code compilation during option parsing

A default implementation for backend-specific routines is provided in
"trace/default.c", which backends can override by setting "trace_default=no" in
"configure".

Signed-off-by: Lluís Vilanova <>

View revisions

Also available in: Atom