From: Peter Zijlstra Date: Tue, 23 Jun 2009 18:13:11 +0000 (+0200) Subject: perf_counter: Add PERF_EVENT_READ X-Git-Tag: v2.6.31-rc2~30^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38b200d67636a30cb8dc1508137908e7a649b5c9;p=pandora-kernel.git perf_counter: Add PERF_EVENT_READ Provide a read() like event which can be used to log the counter value at specific sites such as child->parent folding on exit. In order to be useful, we log the counter parent ID, not the actual counter ID, since userspace can only relate parent IDs to perf_counter_attr constructs. Signed-off-by: Peter Zijlstra LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed