This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: stap make check - process_test and sched_test failure


> I use "readelf -w" to get the DWARF info of my kernel:
> ...
>   <1><671e1>: Abbrev Number: 77 (DW_TAG_subprogram)
>       DW_AT_sibling     : <67316>
>       DW_AT_name        : (indirect string, offset: 0x5525): handle_signal
>       DW_AT_decl_file   : 1
>       DW_AT_decl_line   : 1008
>       DW_AT_prototyped  : 1
>       DW_AT_type        : <5e0be>
>       DW_AT_inline      : 1      (inlined)

This is what's called the "abstract" entry for the inline function.  It has
the information that's general to all instantiations.  It does not have the
information that's particular to each instantiation.  (This is the
structure of the info even if there is only one instantiation, i.e. only
one call anywhere in the source code.)

There should also be a DW_TAG_inlined_subroutine entry.  You can find the
right one by looking for a DW_AT_abstract_origin attribute of <671e1>.


Thanks,
Roland


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]