2009-06-16 23:04:47

by K.Prasad

[permalink] [raw]
Subject: [Patch 0/2] ksym_tracer:ksym tracer fixes

Hi Frederic,
Please find a set of patches that fix two separate issues found in
the ksym tracer.

Summary of patchset
--------------------
1: An early return before a line-return in the output function causes the
output to be concatenated. This is fixed using an unconditional line return.
2: Symbol unregistration results in missing information and partial output,
which causes problems for 'trace_pipe' functionality. The patch adds an early
check to detect missing fields and return with a TRACE_TYPE_HANDLED code to
eliminate trace belonging to stale ksym tracer symbols.

Let me know your comments on this patchset. If found acceptable, kindly patch
them to the ksym tracer plugin in -tip tree.

Thanks,
K.Prasad