[lkml]   [2009]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 4/4] perf symbols: Capture the running kernel buildid too
    Em Wed, Nov 18, 2009 at 08:20:53PM -0200, Arnaldo Carvalho de Melo escreveu:
    > From: Arnaldo Carvalho de Melo <>
    > [root@doppio linux-2.6-tip]# perf record -a -f sleep 3s ; perf
    > buildid-list | grep vmlinux
    > [ perf record: Woken up 1 times to write data ]
    > [ perf record: Captured and wrote 0.171 MB (~7489 samples) ]
    > 18e7cc53db62a7d35e9d6f6c9ddc23017d38ee9a vmlinux
    > [root@doppio linux-2.6-tip]#
    > Several refactorings were needed so that we can have simmetry between
    > dsos__load_modules and dsos__load_kernel, i.e. those functions will
    > respectively create and add to the dsos list the loaded modules and
    > kernel, with its buildids, but not load its symbols. That is something
    > the subcomands that need will have to call dso__load_kernel_sym(), just
    > like we do with modules with dsos__load_module_sym()/dso__load_module_sym().

    And that can even be deferred to when we get a kernel sample, thinking
    about 'perf top --hide_kernel_symbols', this makes a lot of sense 8-)

    Tomorrow tho.

    - Arnaldo

     \ /
      Last update: 2009-11-18 23:33    [W:0.021 / U:6.084 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site