Messages in this thread - First message in thread
- "Yan, Zheng"
- "Yan, Zheng"
- "Yan, Zheng"
- "Yan, Zheng"
- "Yan, Zheng"
- "Yan, Zheng"
- "Yan, Zheng"
- "Yan, Zheng"
- "Yan, Zheng"
- "Yan, Zheng"
- "Yan, Zheng"
- "Yan, Zheng"
- "Yan, Zheng"
- "Yan, Zheng"
- Peter Zijlstra
- Peter Zijlstra
- Stephane Eranian
| | | Date | Thu, 21 Jun 2012 10:34:11 +0800 | From | "Yan, Zheng" <> | Subject | Re: [PATCH V6 0/13] perf: Intel uncore pmu counting support |
| |
On 06/21/2012 12:01 AM, Peter Zijlstra wrote: > > ok, so with this stuff something like: > > perf stat -ae uncore/event=clockticks/ foo > > will register a counter per cpu, which is somewhat silly since we only > need one per node. What would be the best way to 'fix' this? > > We could of course create another variant of -a which iterates nodes > instead of cpus, -N or so. > > Alternatively we could try and describe this in sysfs in some way, one > possibility would be to include a link to /sys/devices/system/{cpu,node} > or somesuch and use that link to iterate the correct space. > > Any other suggestions? > How about treat the 'cpu' parameter for uncore event as socket id instead of cpu id?
Regards Yan, Zheng
| |