Thomas Gleixner
0793a61d4d
performance counters: core code
...
Implement the core kernel bits of Performance Counters subsystem.
The Linux Performance Counter subsystem provides an abstraction of
performance counter hardware capabilities. It provides per task and per
CPU counters, and it provides event capabilities on top of those.
Performance counters are accessed via special file descriptors.
There's one file descriptor per virtual counter used.
The special file descriptor is opened via the perf_counter_open()
system call:
int
perf_counter_open(u32 hw_event_type,
u32 hw_event_period,
u32 record_type,
pid_t pid,
int cpu);
The syscall returns the new fd. The fd can be used via the normal
VFS system calls: read() can be used to read the counter, fcntl()
can be used to set the blocking mode, etc.
Multiple counters can be kept open at a time, and the counters
can be poll()ed.
See more details in Documentation/perf-counters.txt.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-12-08 15:47:03 +01:00
..
accessibility
acpi
Revert "ACPI: battery: Convert discharge energy rate to current properly"
2008-12-05 13:30:03 -08:00
amba
ata
libata: blacklist Seagate drives which time out FLUSH_CACHE when used with NCQ
2008-12-01 13:49:27 -05:00
atm
ATM: horizon, fix hrz_probe fail path
2008-11-29 20:42:28 -08:00
auxdisplay
base
block
[PATCH] fix bogus argument of blkdev_put() in pktcdvd
2008-12-04 04:22:59 -05:00
bluetooth
cdrom
char
performance counters: core code
2008-12-08 15:47:03 +01:00
clocksource
connector
cpufreq
cpuidle
crypto
fix talitos
2008-11-30 10:03:36 -08:00
dca
dio
dma
edac
i82875p_edac: fix module remove
2008-12-01 19:55:25 -08:00
eisa
firewire
firmware
gpio
gpu
drm/i915: Return error in i915_gem_set_to_gtt_domain if we're not in the GTT.
2008-12-04 11:24:47 +10:00
hid
HID: Apple ALU wireless keyboards are bluetooth devices
2008-11-28 15:09:26 +01:00
hwmon
hwmon: applesmc: make applesmc load automatically on startup
2008-12-01 19:55:24 -08:00
i2c
i2c-parport: Fix misplaced parport_release call
2008-11-28 15:24:39 +01:00
ide
alim15x3: fix sparse warning
2008-12-02 20:40:04 +01:00
idle
ieee1394
ieee1394: sbp2: fix race condition in state change
2008-11-29 17:07:56 +01:00
infiniband
Merge branches 'ehca' and 'mlx4' into for-linus
2008-12-01 10:11:50 -08:00
input
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
2008-11-30 11:05:21 -08:00
isdn
tricky one: hisax sections
2008-11-30 10:03:37 -08:00
leds
lguest
macintosh
rackmeter section fixes
2008-11-30 10:03:37 -08:00
mca
md
block: fix setting of max_segment_size and seg_boundary mask
2008-12-03 12:55:55 +01:00
media
em28xx: remove backward compat macro added on a previous fix
2008-12-01 18:04:14 -02:00
memstick
message
drivers/message/i2o/iop.c: cleanup kerneldoc
2008-12-05 13:40:52 -08:00
mfd
misc
sgi-gru: call fs_initcall() if statically linked
2008-12-02 15:51:35 -08:00
mmc
mtd
Merge branch 'linux-next' of git://git.infradead.org/~dedekind/ubi-2.6
2008-11-30 11:34:17 -08:00
net
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
2008-12-02 15:55:05 -08:00
nubus
of
oprofile
parisc
parport
parport_serial: fix array overflow
2008-12-01 19:55:24 -08:00
pci
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
2008-12-02 15:55:05 -08:00
pcmcia
pnp
power
ps3
rapidio
rapidio section noise
2008-11-30 10:03:37 -08:00
regulator
rtc
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6
2008-12-02 15:55:43 -08:00
s390
[SCSI] zfcp: prevent double decrement on host_busy while being busy
2008-12-01 10:18:20 -06:00
sbus
Revert "of_platform_driver noise on sparce"
2008-12-01 07:55:14 -08:00
scsi
[PATCH 1/2] kill FMODE_NDELAY_NOW
2008-12-04 04:22:57 -05:00
serial
Fix incorrect use of loose in tty/serial drivers
2008-12-05 13:40:52 -08:00
sh
sn
spi
spi: fix spi_s3c24xx_gpio num_chipselect
2008-12-01 19:55:24 -08:00
ssb
staging
tc
telephony
thermal
uio
usb
Fix incorrect use of loose in tty/serial drivers
2008-12-05 13:40:52 -08:00
uwb
video
macfb: Do not overflow fb_fix_screeninfo.id
2008-12-02 20:27:15 +01:00
virtio
w1
W1_MASTER_DS1WM should depend on HAVE_CLK
2008-11-30 10:03:36 -08:00
watchdog
iTCO_wdt: fix typo when setting TCO_EN bit
2008-12-03 16:20:19 -08:00
xen
zorro
Kconfig
Makefile