Re: system tap unable to refer a structure definition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



gadrenayan wrote:

> [...]
> c = @cast($frags[0]->f_addr, "volioship_hdr_t", 
> "/root/ngadre/unixvm-cvs/src/common/kernel/vxvm/ioship_cvm.h")
> [...]
> The header file is locally available on the machine.
> [...]
> 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
> [...]
> How do I make system tap refer to this structure.

@cast requires use of the syntax "kernel<header.h>" to process such
files, because they involve different compiler invocations.  That may
not be all there is to it.  Rerun stap with --vp 04 or somesuch to
get some verbose tracing of its attempts to process that header.

- FChE

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux