This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
little confuse about kernel trace point
- From: ch huang <justlooks at gmail dot com>
- To: systemtap at sourceware dot org
- Date: Tue, 27 Mar 2012 11:06:03 +0800
- Subject: little confuse about kernel trace point
i see the following code in example script
probe kernel.trace("mm_pdflush_kupdate") {
if (!log_event()) next
kupdate[pid()] <<< $count
command[pid()] = execname()
}
so when i search "mm_pdflush_kupdate" i find something about trace
point define named mm_pdflush_kupdate
in file include/trace/mm.h
62 DEFINE_TRACE(mm_pdflush_kupdate,
63 TPPROTO(unsigned long count),
64 TPARGS(count));
it seems mm_pdflush_kupdate trace a variable in kernel code,but how
can i find exactly name ? and in which function?