[PATCH] oprofile: ppro: need to enable/disable all the counters
authorArun Sharma <arun.sharma@google.com>
Fri, 29 Sep 2006 09:00:01 +0000 (02:00 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 29 Sep 2006 16:18:11 +0000 (09:18 -0700)
commit6b77df08a36d989f7dd00ccb6a026a0e96170d16
tree54b742acda47156c102f8af940f7def92413f1ef
parent50462062a02226a698a211d5bd535376c89b8603
[PATCH] oprofile: ppro: need to enable/disable all the counters

Need to enable/disable all the counters instead of just counter 0.

This affects all cpus with family=6, including i386/core.  Usual symptom:
only counter 0 provides samples.  Other counters don't produce samples.

Signed-off-by: Arun Sharma <arun.sharma@google.com>
Cc: Philippe Elie <phil.el@wanadoo.fr>
Cc: John Levon <levon@movementarian.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/oprofile/op_model_ppro.c