Stephane We would like to be able to collect both core and uncore counters with pfmon during the same test run. This works (if you are careful) as shown below:
[kirk] (hpctk) test_cases> pfmon --system-wide -u -k --cpu-list 0,1 -e UNC_LLC_MISS:READ,UNHALTED_CORE_CYCLES,INSTRUCTIONS_RETIRED,FP_COMP_OPS_EXE:SSE_FP ./LoopTest .... application dribble .... CPU0 12080 UNC_LLC_MISS:READ CPU0 26709 UNHALTED_CORE_CYCLES CPU0 9766 INSTRUCTIONS_RETIRED CPU0 0 FP_COMP_OPS_EXE:SSE_FP CPU1 197 UNC_LLC_MISS:READ CPU1 29020 UNHALTED_CORE_CYCLES CPU1 10715 INSTRUCTIONS_RETIRED CPU1 0 FP_COMP_OPS_EXE:SSE_FP But our system also has cpu cores 2-15 which can not be included in the cpu list because they share the same cpu socket as 0 or 1 so the uncore event causes a problem creating the perfmon session on behalf of those cpu cores. Would it be possible for pfmon to detect when multiple cpu cores on the same socket are included in the cpu list then only put the uncore events in the event list used when creating a session to the first cpu core on that socket. Then sessions to other cpu cores that share the same socket would contain only the core events so that perfmon would allow sessions to all the cores. One other possible approach I considered is to leave pfmon alone and change perfmon to just remove the uncore event from the event list when the session is created to the second cpu core on the same socket. This could possibly be done where the error is currently being detected and then allow the session to be created with a subset of the events (minus all uncore events) requested by the caller. If either of these approaches could be implemented it would make it possible for us to get all the data we need in a single test run (and that makes sure the data is consistent and complete). Just interested in your thoughts. Gary ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel