Ingo Molnar
a21ca2cac5
perf_counter: Separate out attr->type from attr->config
...
Counter type is a frequently used value and we do a lot of
bit juggling by encoding and decoding it from attr->config.
Clean this up by creating a separate attr->type field.
Also clean up the various similarly complex user-space bits
all around counter attribute management.
The net improvement is significant, and it will be easier
to add a new major type (which is what triggered this cleanup).
(This changes the ABI, all tools are adapted.)
(PowerPC build-tested.)
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-06-06 11:37:22 +02:00
..
2009-04-05 02:14:15 -04:00
2009-06-01 10:01:39 +02:00
2009-06-06 11:37:22 +02:00
2009-03-10 16:24:23 +01:00
2009-05-04 15:05:24 +02:00
2009-04-03 10:36:57 -07:00
2008-11-28 15:24:39 +01:00
2009-03-31 13:33:50 +10:30
2009-04-01 08:59:16 -07:00
2009-04-01 08:59:16 -07:00
2009-04-03 19:25:57 +02:00
2009-03-15 07:03:15 +01:00
2009-01-03 12:04:39 -08:00
2009-02-17 17:52:44 +01:00
2009-03-06 16:13:15 +01:00
2008-12-03 08:56:25 +01:00
2009-01-19 00:38:58 +09:00
2009-03-30 14:04:53 +11:00
2008-12-03 08:56:25 +01:00
2009-05-07 21:42:39 -07:00
2009-03-13 02:37:18 +01:00
2009-01-09 12:46:22 -08:00
2009-03-27 17:28:43 +01:00
2009-02-25 08:27:46 +01:00
2009-02-24 18:08:40 +01:00
2009-03-27 17:28:43 +01:00
2009-03-14 09:42:51 +01:00
2009-06-03 09:53:34 +02:00
2009-05-13 13:52:19 -04:00
2009-03-14 17:23:47 -07:00
2009-03-14 15:37:14 -07:00
2009-03-17 11:52:10 -07:00
2009-02-24 18:08:38 +01:00
2008-12-12 11:08:42 +01:00
2009-04-22 15:53:40 +02:00
2009-03-04 20:33:16 +01:00
2009-02-10 13:13:23 +01:00
2009-04-21 13:41:47 -07:00
2009-02-23 00:08:11 +01:00
2008-12-31 18:07:42 -05:00
2009-03-21 16:57:04 +05:30
2009-03-02 12:07:48 +01:00
2009-02-24 21:52:45 +01:00
2009-02-09 12:16:05 +01:00
2009-04-29 14:47:05 +02:00
2009-06-03 09:53:34 +02:00
2009-06-03 09:53:34 +02:00
2009-03-21 16:55:45 +05:30
2009-05-15 07:56:25 -05:00
2009-04-02 00:49:02 +02:00
2009-03-19 14:04:19 +01:00
2009-04-21 13:41:47 -07:00
2009-01-02 17:46:24 +01:00
2009-05-07 22:01:05 -07:00
2009-05-07 22:01:05 -07:00
2009-05-15 20:07:42 +02:00
2009-02-23 00:08:11 +01:00
2009-03-30 22:05:14 +10:30
2009-03-18 13:51:17 +01:00
2009-04-17 09:56:11 -07:00
2009-03-18 13:51:17 +01:00
2009-03-12 13:13:07 +01:00
2009-01-12 11:22:55 +01:00
2009-01-12 11:23:01 +01:00
2009-04-12 12:32:18 +02:00
2009-01-12 11:22:50 +01:00
2009-02-14 23:05:25 +01:00
2009-01-30 14:51:44 -08:00
2009-01-30 14:51:44 -08:00
2009-01-20 17:14:28 +01:00
2009-05-15 20:07:42 +02:00
2009-01-06 14:06:57 +01:00
2009-04-07 08:31:12 -07:00
2009-03-05 12:47:28 +01:00
2009-04-07 08:31:11 -07:00
2009-04-14 02:51:04 +02:00
2009-01-29 14:16:51 +01:00
2009-04-02 19:04:51 -07:00
2009-04-02 19:04:51 -07:00
2009-04-05 11:04:19 -07:00
2009-04-09 05:43:32 +02:00
2009-04-24 08:41:39 +02:00
2009-05-22 09:11:30 +02:00
2009-03-10 18:13:25 -07:00
2009-03-10 18:13:25 -07:00
2009-03-21 16:56:37 +05:30
2009-05-25 05:37:55 +02:00
2009-03-30 18:00:26 -07:00
2009-04-06 09:30:36 +02:00
2009-02-17 17:52:44 +01:00
2009-03-13 14:49:54 +10:30
2009-01-31 04:21:18 +01:00
2009-04-30 21:16:49 +02:00
2009-02-23 00:08:11 +01:00
2009-03-30 22:05:14 +10:30
2009-04-16 16:43:20 -07:00
2009-03-21 16:55:24 +05:30
2009-02-13 11:35:01 -08:00
2009-02-13 11:35:01 -08:00
2008-12-08 13:49:45 +01:00
2009-04-06 09:02:57 +02:00
Merge branches 'x86/apic', 'x86/cleanups', 'x86/cpufeature', 'x86/crashdump', 'x86/debug', 'x86/defconfig', 'x86/detect-hyper', 'x86/doc', 'x86/dumpstack', 'x86/early-printk', 'x86/fpu', 'x86/idle', 'x86/io', 'x86/memory-corruption-check', 'x86/microcode', 'x86/mm', 'x86/mtrr', 'x86/nmi-watchdog', 'x86/pat2', 'x86/pci-ioapic-boot-irq-quirks', 'x86/ptrace', 'x86/quirks', 'x86/reboot', 'x86/setup-memory', 'x86/signal', 'x86/sparse-fixes', 'x86/time', 'x86/uv' and 'x86/xen' into x86/core
2008-12-23 16:27:23 +01:00
2009-04-21 13:41:47 -07:00
2009-02-17 17:52:44 +01:00
2009-04-08 14:58:10 +02:00
2009-04-22 17:41:25 +02:00
2009-03-11 09:49:01 +01:00
2009-02-11 14:00:56 -08:00
2009-03-19 14:04:19 +01:00
2009-04-21 13:41:47 -07:00
2009-03-17 14:16:02 -07:00
2009-03-17 12:58:15 -07:00
2009-03-25 21:34:28 +01:00
2008-12-28 12:21:10 -08:00
2009-01-16 14:20:22 +01:00
2009-04-20 14:33:00 -07:00