From: Peter Zijlstra Date: Fri, 8 May 2009 16:52:24 +0000 (+0200) Subject: perf_counter: add PERF_RECORD_CPU X-Git-Tag: v2.6.31-rc1~383^2~291 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f370e1e2f195ec1e6420e26fc83e0319595db578;p=pandora-kernel.git perf_counter: add PERF_RECORD_CPU Allow recording the CPU number the event was generated on. RFC: this leaves a u32 as reserved, should we fill in the node_id() there, or leave this open for future extention, as userspace can already easily do the cpu->node mapping if needed. [ Impact: extend perfcounter output record format ] Signed-off-by: Peter Zijlstra Cc: Paul Mackerras Cc: Corey Ashford LKML-Reference: <20090508170029.008627711@chello.nl> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed