Skip to content

perfmon2 minimal v2: introduction

[email protected] lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest19 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/19perfmon2 minimal v2: generic headersinclude/linux/perfmon.h include/linux/perfmon_kern.h include/linux/perfmon_pmu.h+473 -00 replies
2/19perfmon2 minimal v2: base codeMakefile include/linux/sched.h perfmon/Makefile +6 more+666 -12 replies
3/19perfmon2 minimal v2: context switchinclude/linux/perfmon_kern.h perfmon/Makefile perfmon/perfmon_ctxsw.c+257 -10 replies
4/19perfmon2 minimal v2: interrupt handlinginclude/linux/perfmon_kern.h perfmon/Makefile perfmon/perfmon_intr.c+303 -10 replies
5/19perfmon2 minimal v2: X86 generic codearch/x86/Kconfig arch/x86/Makefile arch/x86/perfmon/Kconfig +5 more+1072 -03 replies
6/19perfmon2 minimal v2: X86 OProfile hooksarch/x86/oprofile/nmi_int.c include/linux/perfmon_kern.h perfmon/perfmon_res.c+99 -10 replies
7/19perfmon2 minimal v2: X86 64-bit hooksarch/x86/kernel/entry_64.S arch/x86/kernel/i8259_64.c arch/x86/kernel/process_64.c +4 more+37 -50 replies
8/19perfmon2 minimal v2: X86 32-bit hooksarch/x86/kernel/apic_32.c arch/x86/kernel/entry_32.S arch/x86/kernel/process_32.c +4 more+33 -50 replies
9/19perfmon2 minimal v2: PMU mappingperfmon/Makefile perfmon/perfmon_pmu.c perfmon/perfmon_priv.h+259 -10 replies
10/19perfmon2 minimal v2: sysfs interfaceDocumentation/ABI/testing/sysfs-perfmon Documentation/ABI/testing/sysfs-perfmon-pmu perfmon/Makefile +5 more+472 -10 replies
11/19perfmon2 minimal v2: read-write registersinclude/linux/perfmon.h perfmon/Makefile perfmon/perfmon_priv.h +1 more+398 -10 replies
12/19perfmon2 minimal v2: monitoring activationperfmon/Makefile perfmon/perfmon_activate.c perfmon/perfmon_priv.h+141 -10 replies
13/19perfmon2 minimal v2: attach/detach supportperfmon/perfmon_attach.c perfmon/perfmon_priv.h+240 -00 replies
14/19perfmon2 minimal v2: context creationperfmon/perfmon_ctx.c perfmon/perfmon_file.c perfmon/perfmon_priv.h+392 -00 replies
15/19perfmon2 minimal v2: X86 64-bit system calls supportarch/x86/ia32/ia32entry.S include/asm-x86/unistd_64.h+29 -00 replies
16/19perfmon2 minimal v2: X86 32-bit system calls supportarch/x86/kernel/syscall_table_32.S include/asm-x86/unistd_32.h+23 -00 replies
17/19perfmon2 minimal v2: system callsinclude/linux/perfmon.h kernel/sys_ni.c perfmon/Makefile +1 more+773 -10 replies
18/19perfmon2 minimal v2: Intel architectural PMU supportarch/x86/perfmon/Kconfig arch/x86/perfmon/Makefile arch/x86/perfmon/perfmon_intel_arch.c+500 -00 replies
19/19perfmon2 minimal v2: AMD64 processor supportarch/x86/perfmon/Kconfig arch/x86/perfmon/Makefile arch/x86/perfmon/perfmon_amd64.c+450 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch 00/19] perfmon2 minimal v2: introduction

The following patches implement a minimal perfmon2 subsystem which provides access to the hardware performance counters of modern processors.

This series supports ONLY per-thread counting of PMU events (no sampling) for AMD64 and Intel Core processors in both 32 and 64 bit modes.

This is version 2 of the series following the feedback from LKML. The series is against 2.6.26-rc6. Compared to previous version, this new series addresses the comments I received from Aran, Greg KH and others:

- some small patches were integrated with other bigger patches which they closely related to.

- sysfs code has been largely simplified

Please review.