Fix missing data pointer
authorDavid Goulet <david.goulet@polymtl.ca>
Thu, 30 Sep 2010 18:52:55 +0000 (20:52 +0200)
committerNils Carlson <nils.carlson@ericsson.com>
Fri, 1 Oct 2010 12:42:22 +0000 (14:42 +0200)
commit9b9e13aaa8da76eab50542b5762c9e5c47348a6d
treec20123996a9b5585e3b4c4271b5429f90179287f
parentcdf50e9e93237343729ecedb49c080c70cd0e507
Fix missing data pointer

This applies to tracepoint using a marker (trace_mark_tp)

At commit 9dec086e052cf7f583a3afaa3aab48a6de8d38ac,
the tracepoint_probe_register/unregister_noupdate function has been
changed with the addition of a void data pointer. In set_marker(),
the call to that function was not updated with this new parameter.
The effect was that on a second register_trace with an already
registered probe, the data ptr was corrupted with false data and
thus the probe checking failed to validate duplicates. So, the same
data was reproduced for a single trace call. Same behavior for
unregistering the marker, it was not found.

NOTE : For now, this pointer is NULL because we don't have at this
point tracing session.

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
Acked-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
libust/marker.c
This page took 0.024299 seconds and 4 git commands to generate.