Skip to contentSkip to conversation

ksym_tracer:ksym tracer fixes

PATCH New K.Prasad 1 participant 1 message Jun 16, 2009

lore
Share & tools
lore

K.Prasad

author
#0 lore raw

cover 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