Fix marker/tracepoint/trace_event lib list: expected to be sorted
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 22 Feb 2011 14:15:48 +0000 (09:15 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 22 Feb 2011 14:15:48 +0000 (09:15 -0500)
commitb467f7a77d78880b71ec10d8fa8904da7d28043e
treef1e4648fe02cb332ac021643324d9417d742c9b6
parent5f63bcb39ce2f0982a2c38148d4fca7e8acdc123
Fix marker/tracepoint/trace_event lib list: expected to be sorted

Sort library lists.

List operations expect the library lists to be sorted by pointer addresses (this
was needed for iteration on kernel modules without having to hold the mutex
across read system calls). It's usefulness in userspace is debatable, but there
is clearly a bug here, since the code that iterates on the lists still expects
them to be sorted.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
libust/marker.c
libust/trace_event.c
libust/tracepoint.c
This page took 0.024928 seconds and 4 git commands to generate.