* Accessing kernel global variables
@ 2007-01-10 18:47 Mike Mason
2007-01-10 21:47 ` Frank Ch. Eigler
0 siblings, 1 reply; 2+ messages in thread
From: Mike Mason @ 2007-01-10 18:47 UTC (permalink / raw)
To: systemtap
Is systemtap able to access global kernel variables in a probe? The buildok/seventeen.stp test is failing for me on both FC5 and SLES 10 on x86_64.
Mike
Error:
semantic error: libdwfl failure (dwfl_addrmodule): Operation not permitted: identifier '$write_fifo_fops' at seventeen.stp:8:19
buildok/seventeen.stp:
probe kernel.function("pipe_write")
{
printf("0x%x\n", $write_fifo_fops->llseek)
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Accessing kernel global variables
2007-01-10 18:47 Accessing kernel global variables Mike Mason
@ 2007-01-10 21:47 ` Frank Ch. Eigler
0 siblings, 0 replies; 2+ messages in thread
From: Frank Ch. Eigler @ 2007-01-10 21:47 UTC (permalink / raw)
To: Mike Mason; +Cc: systemtap
Mike Mason <mmlnx@us.ibm.com> writes:
> Is systemtap able to access global kernel variables in a probe?
Yes, in general, for those globals in scope at a probe context.
> The buildok/seventeen.stp test is failing for me on both FC5 and
> SLES 10 on x86_64. [...]
Clearly there is some problem here - that test case is meant to check
exactly this feature. It could be related to bug #3630.
- FChE
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-01-10 21:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-10 18:47 Accessing kernel global variables Mike Mason
2007-01-10 21:47 ` Frank Ch. Eigler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).