[PATCH] support lookup table for regular kernel markers
Masami Hiramatsu
mhiramat@redhat.com
Fri Jun 20 20:08:00 GMT 2008
Hi,
Here is a patch for supporting regular kernel markers
which I posted on LKML. This is for explaining how
new c-style format can be used on systemtap/other tracers.
runtime/regular-marker.format is a lookup table for
regular kernel markers. This file has pairs of
c-style format and printf-style format as below;
<marker name><c-style format>:<printf-style format>
Module.markers provides marker names and c-style formats,
so systemtap can look up corresponding printf-style formats
from this file. So, we can use printf-format parser for
regular kernel markers.
Even if the kernel updates its format, what we have to do is
just add new pairs.
Thank you,
--
Masami Hiramatsu
Software Engineer
Hitachi Computer Products (America) Inc.
Software Solutions Division
e-mail: mhiramat@redhat.com
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: stap-regular-kernel-marker.patch
URL: <http://sourceware.org/pipermail/systemtap/attachments/20080620/8e770e8c/attachment.ksh>
More information about the Systemtap
mailing list