[lkml]   [2010]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH -tip 6/7] perf probe: Show accessible global variables
    (2010/10/22 11:25), Masami Hiramatsu wrote:
    > (2010/10/22 5:50), Arnaldo Carvalho de Melo wrote:
    >> Em Thu, Oct 21, 2010 at 07:13:35PM +0900, Masami Hiramatsu escreveu:
    >>> Add --externs for allowing --vars to show accessible
    >>> global(externally defined) variables from a given probe
    >>> point too.
    >>> This will give you a hint which globals can be accessible
    >>> from the probe point.
    >> Cool, but perhaps we need to filter out some of the globals? Things
    >> like:
    > Hmm, yeah. So is that enough to filter out symbols which start with
    > __k???tab_ and __crc_ ?
    >> long unsigned int __kcrctab_tcp_hashinfo
    >> long unsigned int __kcrctab_tcp_proc_register
    >> long unsigned int __kcrctab_tcp_proc_unregister
    >> long unsigned int __kcrctab_tcp_prot

    BTW, with my kernel (yesterday -tip/x86-64/gcc-4.4.4-10),
    perf probe doesn't find these __k???tab_ symbols in
    dwarf. (but those are still in /proc/kallsyms)
    Maybe, something has been changed or it depends on some

    Thank you,

    Masami HIRAMATSU
    2nd Dept. Linux Technology Center
    Hitachi, Ltd., Systems Development Laboratory

     \ /
      Last update: 2010-10-22 07:33    [W:0.027 / U:0.356 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site