kernel-fxtec-pro1x/arch/hexagon/include/asm
Peter Zijlstra 35edc2a509 perf, arch: Rework perf_event_index()
Put the logic to compute the event index into a per pmu method. This
is required because the x86 rules are weird and wonderful and don't
match the capabilities of the current scheme.

AFAIK only powerpc actually has a usable userspace read of the PMCs
but I'm not at all sure anybody actually used that.

ARM is restored to the default since it currently does not support
userspace access at all. And all software events are provided with a
method that reports their index as 0 (disabled).

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Michael Cree <mcree@orcon.net.nz>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Deng-Cheng Zhu <dengcheng.zhu@gmail.com>
Cc: Anton Blanchard <anton@samba.org>
Cc: Eric B Munson <emunson@mgebm.net>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: David S. Miller <davem@davemloft.net>
Cc: Richard Kuo <rkuo@codeaurora.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Arun Sharma <asharma@fb.com>
Link: http://lkml.kernel.org/n/tip-dfydxodki16lylkt3gl2j7cw@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2011-12-21 11:01:07 +01:00
..
asm-offsets.h Hexagon: Add processor and system headers 2011-11-01 07:34:18 -07:00
atomic.h Hexagon: Add atomic ops support 2011-11-01 07:34:18 -07:00
bitops.h Hexagon: Add bitops support 2011-11-01 07:34:18 -07:00
bitsperlong.h
byteorder.h Hexagon: Core arch-specific header files 2011-11-01 07:34:18 -07:00
cache.h Hexagon: Implement basic cache-flush support 2011-11-01 07:34:20 -07:00
cacheflush.h Hexagon: Implement basic cache-flush support 2011-11-01 07:34:20 -07:00
checksum.h Hexagon: Add checksum functions 2011-11-01 07:34:18 -07:00
delay.h Hexagon: Add delay functions 2011-11-01 07:34:18 -07:00
dma-mapping.h Hexagon: Provide DMA implementation 2011-11-01 07:34:20 -07:00
dma.h Hexagon: Provide DMA implementation 2011-11-01 07:34:20 -07:00
elf.h Hexagon: Core arch-specific header files 2011-11-01 07:34:18 -07:00
fixmap.h Hexagon: Add page table header files & etc. 2011-11-01 07:34:20 -07:00
fpu.h Hexagon: Core arch-specific header files 2011-11-01 07:34:18 -07:00
futex.h Hexagon: Core arch-specific header files 2011-11-01 07:34:18 -07:00
hexagon_vm.h Hexagon: Add hypervisor interface 2011-11-01 07:34:19 -07:00
intrinsics.h Hexagon: Add checksum functions 2011-11-01 07:34:18 -07:00
io.h Hexagon: Provide basic implementation and/or stubs for I/O routines. 2011-11-01 07:34:20 -07:00
irq.h Hexagon: Add interrupts 2011-11-01 07:34:19 -07:00
irqflags.h Hexagon: Add processor and system headers 2011-11-01 07:34:18 -07:00
Kbuild
kgdb.h Hexagon: kgdb support files 2011-11-01 07:34:21 -07:00
linkage.h Hexagon: Core arch-specific header files 2011-11-01 07:34:18 -07:00
mem-layout.h Hexagon: Add page-fault support. 2011-11-01 07:34:20 -07:00
mmu.h Hexagon: Add page table header files & etc. 2011-11-01 07:34:20 -07:00
mmu_context.h Hexagon: Add page table header files & etc. 2011-11-01 07:34:20 -07:00
module.h Hexagon: Core arch-specific header files 2011-11-01 07:34:18 -07:00
mutex.h
page.h Hexagon: Add page table header files & etc. 2011-11-01 07:34:20 -07:00
param.h Hexagon: Core arch-specific header files 2011-11-01 07:34:18 -07:00
perf_event.h perf, arch: Rework perf_event_index() 2011-12-21 11:01:07 +01:00
pgalloc.h Hexagon: Add page table header files & etc. 2011-11-01 07:34:20 -07:00
pgtable.h Hexagon: Add page table header files & etc. 2011-11-01 07:34:20 -07:00
processor.h Hexagon: Add processor and system headers 2011-11-01 07:34:18 -07:00
ptrace.h Hexagon: Add ptrace support 2011-11-01 07:34:19 -07:00
registers.h Hexagon: Add processor and system headers 2011-11-01 07:34:18 -07:00
setup.h
sigcontext.h Hexagon: Add signal functions 2011-11-01 07:34:19 -07:00
signal.h Hexagon: Add signal functions 2011-11-01 07:34:19 -07:00
smp.h Hexagon: Add SMP support 2011-11-01 07:34:20 -07:00
spinlock.h Hexagon: Add locking types and functions 2011-11-01 07:34:20 -07:00
spinlock_types.h Hexagon: Add locking types and functions 2011-11-01 07:34:20 -07:00
string.h Hexagon: Core arch-specific header files 2011-11-01 07:34:18 -07:00
suspend.h Hexagon: Core arch-specific header files 2011-11-01 07:34:18 -07:00
swab.h Hexagon: Core arch-specific header files 2011-11-01 07:34:18 -07:00
syscall.h Hexagon: Add syscalls 2011-11-01 07:34:18 -07:00
system.h Hexagon: Add processor and system headers 2011-11-01 07:34:18 -07:00
thread_info.h Hexagon: Add threadinfo 2011-11-01 07:34:18 -07:00
time.h Hexagon: Add time and timer functions 2011-11-01 07:34:19 -07:00
timer-regs.h Hexagon: Add time and timer functions 2011-11-01 07:34:19 -07:00
timex.h Hexagon: Core arch-specific header files 2011-11-01 07:34:18 -07:00
tlb.h Hexagon: Implement basic TLB management routines for Hexagon. 2011-11-01 07:34:20 -07:00
tlbflush.h Hexagon: Implement basic TLB management routines for Hexagon. 2011-11-01 07:34:20 -07:00
traps.h Hexagon: Provide basic debugging and system trap support. 2011-11-01 07:34:19 -07:00
uaccess.h Hexagon: Add user access functions 2011-11-01 07:34:20 -07:00
unistd.h Hexagon: Add syscalls 2011-11-01 07:34:18 -07:00
user.h
vdso.h Hexagon: Add signal functions 2011-11-01 07:34:19 -07:00
vm_fault.h Hexagon: Add page-fault support. 2011-11-01 07:34:20 -07:00
vm_mmu.h Hexagon: Add hypervisor interface 2011-11-01 07:34:19 -07:00