perf_counter tools: Check for valid cache operations
commit06813f6c743420c16f9248ab59bd2e68a2de57ba
authorJaswinder Singh Rajput <jaswinder@kernel.org>
Thu, 25 Jun 2009 11:46:07 +0000 (25 17:16 +0530)
committerIngo Molnar <mingo@elte.hu>
Thu, 25 Jun 2009 12:08:49 +0000 (25 14:08 +0200)
tree86ebf73e025c1fbe0ecd8b3d0c9a673ae8c88995
parent76c64c5e4c47b6d28deb3cae8dfa07a93c2229dc
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