Skip to content

perfmon2 minimal: introduction

[email protected] lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest21 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/21perfmon2 minimal: generic hooksMakefile include/linux/sched.h+5 -11 reply
2/21perfmon2 minimal: generic headersinclude/linux/perfmon.h include/linux/perfmon_kern.h include/linux/perfmon_pmu.h+480 -03 replies
3/21perfmon2 minimal: base codeperfmon/Makefile perfmon/perfmon_attach.c perfmon/perfmon_ctx.c +4 more+654 -00 replies
4/21perfmon2 minimal: context switchinclude/linux/perfmon_kern.h perfmon/Makefile perfmon/perfmon_ctxsw.c+257 -10 replies
5/21perfmon2 minimal: interrupt handlinginclude/linux/perfmon_kern.h perfmon/Makefile perfmon/perfmon_intr.c+303 -10 replies
6/21perfmon2 minimal: X86 generic hooksarch/x86/Kconfig arch/x86/Makefile include/asm-x86/Kbuild+5 -02 replies
7/21perfmon2 minimal: X86 generic codearch/x86/perfmon/Kconfig arch/x86/perfmon/Makefile arch/x86/perfmon/perfmon.c +2 more+1067 -00 replies
8/21perfmon2 minimal: X86 OProfile hooksarch/x86/oprofile/nmi_int.c include/linux/perfmon_kern.h perfmon/perfmon_res.c+99 -10 replies
9/21perfmon2 minimal: 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
10/21perfmon2 minimal: 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
11/21perfmon2 minimal: PMU mappingperfmon/Makefile perfmon/perfmon_pmu.c perfmon/perfmon_priv.h+259 -10 replies
12/21perfmon2 minimal: sysfs interfaceperfmon/Makefile perfmon/perfmon_init.c perfmon/perfmon_pmu.c +3 more+466 -17 replies
13/21perfmon2 minimal: read-write registersinclude/linux/perfmon.h perfmon/Makefile perfmon/perfmon_priv.h +1 more+398 -10 replies
14/21perfmon2 minimal: monitoring activationperfmon/Makefile perfmon/perfmon_activate.c perfmon/perfmon_priv.h+141 -10 replies
15/21perfmon2 minimal: attach/detach supportperfmon/perfmon_attach.c perfmon/perfmon_priv.h+240 -00 replies
16/21perfmon2 minimal: context creationperfmon/perfmon_ctx.c perfmon/perfmon_file.c perfmon/perfmon_priv.h+392 -00 replies
17/21perfmon2 minimal: X86 64-bit system calls supportarch/x86/ia32/ia32entry.S include/asm-x86/unistd_64.h+29 -00 replies
18/21perfmon2 minimal: X86 32-bit system calls supportarch/x86/kernel/syscall_table_32.S include/asm-x86/unistd_32.h+23 -02 replies
19/21perfmon2 minimal: system callsinclude/linux/perfmon.h kernel/sys_ni.c perfmon/Makefile +1 more+773 -10 replies
20/21perfmon2 minimal: Intel architectural PMU supportarch/x86/perfmon/Kconfig arch/x86/perfmon/Makefile arch/x86/perfmon/perfmon_intel_arch.c+493 -00 replies
21/21perfmon2 minimal: AMD64 processor supportarch/x86/perfmon/Kconfig arch/x86/perfmon/Makefile arch/x86/perfmon/perfmon_amd64.c+449 -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/21] perfmon2 minimal: introduction

Hello,

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 processors supporting architectural perfmon (version 1 and 2) in both 32 and 64 bit modes.

Please review.