]> git.baikalelectronics.ru Git - kernel.git/commit
perf_counter tools: Check for valid cache operations
authorJaswinder Singh Rajput <jaswinder@kernel.org>
Thu, 25 Jun 2009 11:46:07 +0000 (17:16 +0530)
committerIngo Molnar <mingo@elte.hu>
Thu, 25 Jun 2009 12:08:49 +0000 (14:08 +0200)
commit3dd9a1b425f4d4998a67cb6186e480b26de82cf1
tree86ebf73e025c1fbe0ecd8b3d0c9a673ae8c88995
parentc991ecfb67395a2b3cfa46b111d979e346c8601a
perf_counter tools: Check for valid cache operations

Made new table for cache operartion stat 'hw_cache_stat' as:

 L1I : Read and prefetch only
 ITLB and BPU : Read-only

introduce is_cache_op_valid() for cache operation validity

And checks for valid cache operations.

Reported-by : Ingo Molnar <mingo@elte.hu>
Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <1245930367.5308.33.camel@localhost.localdomain>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/parse-events.c