]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
perf_counter tools: Define separate declarations for H/W and S/W events
authorJaswinder Singh Rajput <jaswinder@kernel.org>
Mon, 22 Jun 2009 11:13:14 +0000 (16:43 +0530)
committerIngo Molnar <mingo@elte.hu>
Mon, 22 Jun 2009 11:29:57 +0000 (13:29 +0200)
commit51e268423151fc7bb41945bde7843160b6a14c32
tree7efe059fa8fed6d6028ab47e03da61f48fa77fce
parentc1f47b454ce759d7b13604137a233cad4617e1e8
perf_counter tools: Define separate declarations for H/W and S/W events

Define separate declarations for H/W and S/W events to:

 1. Shorten name to save some space so that we can add more members
 2. Fix alignment
 3. Avoid declaring HARDWARE/SOFTWARE again and again.

Removed unused CR(x, y)

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