Messages in this thread | | | Date | Thu, 5 Nov 2015 09:41:27 +0800 | From | "Wangnan (F)" <> | Subject | Re: [PATCH 1/4] perf tools: Pass available CPU number to clang compiler |
| |
On 2015/11/5 6:09, Arnaldo Carvalho de Melo wrote: > Em Wed, Nov 04, 2015 at 11:20:04AM +0000, Wang Nan escreveu: >> This patch introduces a new macro "__NR_CPUS__" to perf's embedded >> clang compiler, which represent the available CPU counters in this > available "CPU counters"? ENOPARSE :-)
Your changing is better.
This patch is for support Alexei's BPF output and Xia Kaixu's BPF pmu reading. In these cases we need to create an array with same number of slots with system CPUs.
Thank you.
| |