This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
how to print element in struct prams??
- From: ch huang <justlooks at gmail dot com>
- To: systemtap at sourceware dot org
- Date: Fri, 9 Mar 2012 10:28:12 +0800
- Subject: how to print element in struct prams??
if i put a probe on function do_command(thd), the argument thd is a
structor ,and i want check a element named command in the structor,how
to do?
like
probe process.function("do_command") {
printf("%s",$$prams->command)
}