From: Peter Zijlstra Date: Wed, 25 Mar 2009 11:30:25 +0000 (+0100) Subject: perf_counter: optionally provide the pid/tid of the sampled task X-Git-Tag: v2.6.31-rc1~383^2~433 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea5d20cf99db5d26d43b6d322d3ace17e08a6552;p=pandora-kernel.git perf_counter: optionally provide the pid/tid of the sampled task Allow cpu wide counters to profile userspace by providing what process the sample belongs to. This raises the first issue with the output type, lots of these options: group, tid, callchain, etc.. are non-exclusive and could be combined, suggesting a bitfield. However, things like the mmap() data stream doesn't fit in that. How to split the type field... Signed-off-by: Peter Zijlstra Cc: Paul Mackerras Cc: Mike Galbraith Cc: Arjan van de Ven Cc: Wu Fengguang Orig-LKML-Reference: <20090325113317.013775235@chello.nl> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed