Skip to content

Commit 43c1266

Browse files
committed
Merge branch 'perfcounters-rename-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'perfcounters-rename-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: perf: Tidy up after the big rename perf: Do the big rename: Performance Counters -> Performance Events perf_counter: Rename 'event' to event_id/hw_event perf_counter: Rename list_entry -> group_entry, counter_list -> group_list Manually resolved some fairly trivial conflicts with the tracing tree in include/trace/ftrace.h and kernel/trace/trace_syscalls.c.
2 parents b8c7f1d + 57c0c15 commit 43c1266

134 files changed

Lines changed: 3258 additions & 2801 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎MAINTAINERS‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4000,7 +4000,7 @@ S: Maintained
40004000
F: include/linux/delayacct.h
40014001
F: kernel/delayacct.c
40024002

4003-
PERFORMANCE COUNTER SUBSYSTEM
4003+
PERFORMANCE EVENTS SUBSYSTEM
40044004
M: Peter Zijlstra <a.p.zijlstra@chello.nl>
40054005
M: Paul Mackerras <paulus@samba.org>
40064006
M: Ingo Molnar <mingo@elte.hu>

‎arch/arm/include/asm/unistd.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@
390390
#define __NR_preadv (__NR_SYSCALL_BASE+361)
391391
#define __NR_pwritev (__NR_SYSCALL_BASE+362)
392392
#define __NR_rt_tgsigqueueinfo (__NR_SYSCALL_BASE+363)
393-
#define __NR_perf_counter_open (__NR_SYSCALL_BASE+364)
393+
#define __NR_perf_event_open (__NR_SYSCALL_BASE+364)
394394

395395
/*
396396
* The following SWIs are ARM private.

‎arch/arm/kernel/calls.S‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@
373373
CALL(sys_preadv)
374374
CALL(sys_pwritev)
375375
CALL(sys_rt_tgsigqueueinfo)
376-
CALL(sys_perf_counter_open)
376+
CALL(sys_perf_event_open)
377377
#ifndef syscalls_counted
378378
.equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls
379379
#define syscalls_counted

‎arch/blackfin/include/asm/unistd.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@
381381
#define __NR_preadv 366
382382
#define __NR_pwritev 367
383383
#define __NR_rt_tgsigqueueinfo 368
384-
#define __NR_perf_counter_open 369
384+
#define __NR_perf_event_open 369
385385

386386
#define __NR_syscall 370
387387
#define NR_syscalls __NR_syscall

‎arch/blackfin/mach-common/entry.S‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1620,7 +1620,7 @@ ENTRY(_sys_call_table)
16201620
.long _sys_preadv
16211621
.long _sys_pwritev
16221622
.long _sys_rt_tgsigqueueinfo
1623-
.long _sys_perf_counter_open
1623+
.long _sys_perf_event_open
16241624

16251625
.rept NR_syscalls-(.-_sys_call_table)/4
16261626
.long _sys_ni_syscall

‎arch/frv/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ config FRV
77
default y
88
select HAVE_IDE
99
select HAVE_ARCH_TRACEHOOK
10-
select HAVE_PERF_COUNTERS
10+
select HAVE_PERF_EVENTS
1111

1212
config ZONE_DMA
1313
bool
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* FRV performance counter support
1+
/* FRV performance event support
22
*
33
* Copyright (C) 2009 Red Hat, Inc. All Rights Reserved.
44
* Written by David Howells (dhowells@redhat.com)
@@ -9,9 +9,9 @@
99
* 2 of the Licence, or (at your option) any later version.
1010
*/
1111

12-
#ifndef _ASM_PERF_COUNTER_H
13-
#define _ASM_PERF_COUNTER_H
12+
#ifndef _ASM_PERF_EVENT_H
13+
#define _ASM_PERF_EVENT_H
1414

15-
#define PERF_COUNTER_INDEX_OFFSET 0
15+
#define PERF_EVENT_INDEX_OFFSET 0
1616

17-
#endif /* _ASM_PERF_COUNTER_H */
17+
#endif /* _ASM_PERF_EVENT_H */

‎arch/frv/include/asm/unistd.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@
342342
#define __NR_preadv 333
343343
#define __NR_pwritev 334
344344
#define __NR_rt_tgsigqueueinfo 335
345-
#define __NR_perf_counter_open 336
345+
#define __NR_perf_event_open 336
346346

347347
#ifdef __KERNEL__
348348

‎arch/frv/kernel/entry.S‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1525,6 +1525,6 @@ sys_call_table:
15251525
.long sys_preadv
15261526
.long sys_pwritev
15271527
.long sys_rt_tgsigqueueinfo /* 335 */
1528-
.long sys_perf_counter_open
1528+
.long sys_perf_event_open
15291529

15301530
syscall_table_size = (. - sys_call_table)

‎arch/frv/lib/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
lib-y := \
66
__ashldi3.o __lshrdi3.o __muldi3.o __ashrdi3.o __negdi2.o __ucmpdi2.o \
77
checksum.o memcpy.o memset.o atomic-ops.o atomic64-ops.o \
8-
outsl_ns.o outsl_sw.o insl_ns.o insl_sw.o cache.o perf_counter.o
8+
outsl_ns.o outsl_sw.o insl_ns.o insl_sw.o cache.o perf_event.o

0 commit comments

Comments
 (0)