lkml.org 
[lkml]   [2009]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    Subject[perf] howto switch from pfmon
    Hello,

    I am trying to play with perfcounters in current git (actually in latest
    mmotm). I'd like to reproduce what I previously did with pfmon, but I
    couldn't so far.

    Something like
    pfmon --follow-exec 'foobar' -e
    CPU_TO_DRAM_REQUESTS_TO_TARGET_NODE:LOCAL_TO_0,CPU_TO_DRAM_REQUESTS_TO_TARGET_NODE:LOCAL_TO_1
    -- <shell script>
    gives the number of memory accesses to dram node #0 and #1 for all
    processes whose name matches 'foobar'.

    So there are several questions here:
    1) is it possible to specify counter names like the above or do we have
    to use raw counter numbers? I tried raw numbers from [1] without
    success. How am I supposed to find and specify these raw numbers?
    2) how do we specify "subevents"?
    3) is there anything similar to --follow-exec, or --follow-pthreads for
    getting separated outputs for each thread?

    I guess there are still a lot of things on the TODOlist but I'd like to
    understand a bit more where things are going. Sorry I didn't read all
    the archives about this, there are way too many of them recently :)

    thanks,
    Brice

    [1]
    https://aiya.ms.mff.cuni.cz/svn/rip/trunk/doc/devel/native_events_barcelona.txt



    \
     
     \ /
      Last update: 2009-06-22 22:55    [W:4.040 / U:0.096 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site