This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [patch] Set buf as address type in tapset's syslog probe
"Zhaolei" <zhaolei@cn.fujitsu.com> writes:
> [...] In probe syslog in tapset, buf is set as string type in
> argstr. But buf is always used for storing returned data in
> syslog(). So i think it is better to set it to address type(%p).
> [...]
You're right. The confusion probably arises from syslog(3), which
*sends* message strings to the syslog daemon. syslog(2) *reads* them
from the kernel system log. The syslog(2) man page says as much.
- FChE