kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* system tap unable to refer a structure definition
@ 2017-05-03 10:59 Gadre Nayan
  2017-05-07 15:16 ` Frank Ch. Eigler
  0 siblings, 1 reply; 2+ messages in thread
From: Gadre Nayan @ 2017-05-03 10:59 UTC (permalink / raw)
  To: kernelnewbies

Hi,

I am trying a script to read some headers which are passed from one module
to another.

c = @cast($frags[0]->f_addr, "volioship_hdr_t",
           "/root/ngadre/unixvm-cvs/src/common/kernel/vxvm/ioship_cvm.h")

printf("Arguments: [Frag[0]->size: %d, Frag[0]->f_addr: %u, Sender: %d,
Receiver: %d]\n",  $frags[0]->f_size, $frags[0]->f_a    ddr,
c->iosh_sender, c->iosh_receiver)

The header file is locally available on the machine.

Error Msg:

semantic error: type definition 'volioship_hdr_t' not found in
'/root/ngadre/unixvm-cvs/src/common/kernel/vxvm/ioship_cvm.h': operator
'@cast' at :46:6
        source:         c = @cast($frags[0]->f_addr, "volioship_hdr_t",
"/root/ngadre/unixvm-cvs/src/common/kernel/vxvm/ioship_cvm.h")


How do I make system tap refer to this structure.

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20170503/413e0050/attachment.html 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-05-07 15:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-03 10:59 system tap unable to refer a structure definition Gadre Nayan
2017-05-07 15:16 ` 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 NNTP newsgroup(s).