aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/perf_event.h
AgeCommit message (Expand)AuthorFilesLines
2024-04-14perf: Move perf_event_fasync() to perf_event.hKyle Huey1-0/+8
2024-04-12perf/bpf: Remove unneeded uses_default_overflow_handler()Kyle Huey1-14/+3
2024-04-12perf/bpf: Call BPF handler directly, not through overflow machineryKyle Huey1-5/+1
2024-04-12perf/bpf: Remove #ifdef CONFIG_BPF_SYSCALL from struct perf_event membersKyle Huey1-2/+0
2024-04-10perf/core: Optimize perf_adjust_freq_unthr_context()Namhyung Kim1-0/+6
2023-11-15Merge branch 'tip/perf/urgent'Peter Zijlstra1-5/+9
2023-11-15perf/core: Fix cpuctx refcountingPeter Zijlstra1-5/+8
2023-10-30Merge tag 'perf-core-2023-10-28' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+2
2023-10-27perf: Add branch_sample_call_stackKan Liang1-0/+5
2023-10-27perf: Add branch stack countersKan Liang1-1/+16
2023-10-19perf: Disallow mis-matched inherited group readsPeter Zijlstra1-0/+1
2023-10-12perf: Optimize perf_cgroup_switch()Peter Zijlstra1-0/+1
2023-10-05perf/core: Rename perf_proc_update_handler() -> perf_event_max_sample_rate_ha...Xiu Jianfeng1-1/+1
2023-09-01Merge tag 'riscv-for-linus-6.6-mw1' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-1/+2
2023-08-28Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/a...Linus Torvalds1-3/+19
2023-08-18hw_breakpoint: fix single-stepping when using bpf_overflow_handlerTomislav Novak1-3/+19
2023-08-16perf: Fix wrong comment about default event_idxAlexandre Ghiti1-1/+2
2023-07-26perf: Remove unused extern declaration arch_perf_get_page_size()YueHaibing1-4/+0
2023-07-26perf: Remove unused PERF_PMU_CAP_HETEROGENEOUS_CPUS capabilityJames Clark1-4/+3
2023-07-26perf/mem: Add PERF_MEM_LVLNUM_NA to PERF_MEM_NARavi Bangoria1-1/+2
2023-07-01Merge tag 'cxl-for-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxlLinus Torvalds1-0/+1
2023-06-27Merge tag 'perf-core-2023-06-27' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+10
2023-06-16perf/core: Drop __weak attribute from arch_perf_update_userpage() prototypeMarc Zyngier1-3/+3
2023-05-30perf: Allow a PMU to have a parentJonathan Cameron1-0/+1
2023-05-08perf/core: Rework forwarding of {task|cpu}-clock eventsRavi Bangoria1-0/+10
2023-01-18perf/core: Introduce perf_prepare_header()Namhyung Kim1-1/+15
2023-01-18perf/core: Add perf_sample_save_brstack() helperNamhyung Kim1-26/+40
2023-01-18perf/core: Add perf_sample_save_raw_data() helperNamhyung Kim1-5/+28
2023-01-18perf/core: Add perf_sample_save_callchain() helperNamhyung Kim1-1/+15
2023-01-18perf/core: Save the dynamic parts of sample data sizeNamhyung Kim1-0/+2
2023-01-09perf/core: Change the layout of perf_sample_dataNamhyung Kim1-15/+19
2023-01-09perf: Add PMU_FORMAT_ATTR_SHOWKan Liang1-1/+4
2022-10-27perf: Rewrite core context handlingPeter Zijlstra1-31/+94
2022-10-17perf: Fix missing SIGTRAPsPeter Zijlstra1-4/+15
2022-10-04perf: Fix lockdep_assert_event_ctx()Peter Zijlstra1-1/+1
2022-09-27perf: Use sample_flags for raw_dataNamhyung Kim1-3/+2
2022-09-27perf: Use sample_flags for addrNamhyung Kim1-2/+6
2022-09-07perf: Add a few assertionsPeter Zijlstra1-0/+17
2022-09-07perf/core: Assert PERF_EVENT_FLAG_ARCH does not overlap with generic flagsAnshuman Khandual1-0/+2
2022-09-07perf/core: Expand PERF_EVENT_FLAG_ARCHAnshuman Khandual1-1/+1
2022-09-07perf: Consolidate branch sample filter helpersAnshuman Khandual1-0/+26
2022-09-06perf: Use sample_flags for txnKan Liang1-2/+1
2022-09-06perf: Use sample_flags for data_srcKan Liang1-2/+1
2022-09-06perf: Use sample_flags for weightKan Liang1-2/+1
2022-09-06perf: Use sample_flags for branch stackKan Liang1-2/+2
2022-09-06perf: Add sample_flags to indicate the PMU-filled sample dataKan Liang1-0/+2
2022-08-30perf/hw_breakpoint: Optimize list of per-task breakpointsMarco Elver1-1/+2
2022-08-27perf/core: Add speculation info to branch entriesSandipan Das1-0/+1
2022-06-28perf/core: Add a new read format to get a number of lost samplesNamhyung Kim1-0/+2
2022-04-05ACPI: Add perf low power callbackStephane Eranian1-0/+6
2022-04-05perf/core: Add perf_clear_branch_entry_bitfields() helperStephane Eranian1-0/+16
2022-02-08perf: Fix wrong name in comment for struct perf_cpu_contextAlexandru Elisei1-1/+1
2022-01-18perf: Fix perf_event_read_local() timePeter Zijlstra1-12/+3
2022-01-12Merge tag 'perf_core_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-12/+32
2022-01-10Merge tag '5.17-net-next' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-0/+1
2021-12-16add includes masked by cgroup -> bpf dependencyJakub Kicinski1-0/+1
2021-12-14perf: Add a counter for number of user access events in contextRob Herring1-0/+1
2021-12-14x86: perf: Move RDPMC event flag to a common definitionRob Herring1-0/+9
2021-11-17perf: Drop guest callback (un)register stubsSean Christopherson1-5/+0
2021-11-17perf/core: Use static_call to optimize perf_guest_info_callbacksSean Christopherson1-26/+8
2021-11-17perf: Force architectures to opt-in to guest callbacksSean Christopherson1-0/+6
2021-11-17perf: Add wrappers for invoking guest callbacksSean Christopherson1-0/+24
2021-11-17perf/core: Rework guest callbacks to prepare for static_call supportLike Xu1-4/+6
2021-11-17perf: Stop pretending that perf can handle multiple guest callbacksSean Christopherson1-6/+6
2021-11-17perf: Protect perf_guest_cbs with RCUSean Christopherson1-1/+12
2021-11-02Merge tag 'net-next-for-5.16' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+23
2021-11-01Merge tag 'perf-core-2021-10-31' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+1
2021-10-15perf/x86: Add new event for AUX output counter indexAdrian Hunter1-0/+1
2021-10-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+3
2021-10-01perf/core: fix userpage->time_enabled of inactive eventsSong Liu1-1/+3
2021-09-13perf: Enable branch record for software eventsSong Liu1-0/+23
2021-08-17bpf: Allow to specify user-provided bpf_cookie for BPF perf linksAndrii Nakryiko1-0/+1
2021-06-11perf: Add EVENT_ATTR_ID to simplify event attributesQi Liu1-0/+6
2021-05-01Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-2/+0
2021-04-22perf: Get rid of oprofile leftoversMarc Zyngier1-2/+0
2021-04-19perf: Extend PERF_TYPE_HARDWARE and PERF_TYPE_HW_CACHEKan Liang1-9/+10
2021-04-19perf/x86: Add structures for the attributes of Hybrid PMUsKan Liang1-0/+12
2021-04-16perf core: Add PERF_COUNT_SW_CGROUP_SWITCHES eventNamhyung Kim1-0/+7
2021-04-16perf core: Factor out __perf_sw_event_schedNamhyung Kim1-21/+12
2021-04-16perf: Add support for SIGTRAP on perf eventsMarco Elver1-0/+1
2021-04-16perf: Support only inheriting events if cloned with CLONE_THREADMarco Elver1-2/+3
2021-04-16perf: Rework perf_event_exit_event()Peter Zijlstra1-0/+1
2021-03-06perf/core: Flush PMU internal buffers for per-CPU eventsKan Liang1-0/+2
2021-02-01perf/core: Add PERF_SAMPLE_WEIGHT_STRUCTKan Liang1-2/+2
2020-11-26Merge remote-tracking branch 'origin/master' into perf/corePeter Zijlstra1-8/+5
2020-11-09perf/arch: Remove perf_sample_data::regs_user_copyPeter Zijlstra1-6/+0
2020-11-09perf: Reduce stack usage of perf_output_begin()Peter Zijlstra1-2/+5
2020-10-29perf,mm: Handle non-page-table-aligned hugetlbfsPeter Zijlstra1-0/+4
2020-10-29perf/core: Add support for PERF_SAMPLE_CODE_PAGE_SIZEStephane Eranian1-0/+1
2020-10-29perf/core: Add PERF_SAMPLE_DATA_PAGE_SIZEKan Liang1-0/+1
2020-09-10perf/core: Pull pmu::sched_task() into perf_event_context_sched_out()Kan Liang1-1/+0
2020-08-18perf/x86/intel: Support per-thread RDPMC TopDown metricsKan Liang1-10/+19
2020-08-18perf/core: Add a new PERF_EV_CAP_SIBLING event capabilityKan Liang1-0/+4
2020-08-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-nextLinus Torvalds1-0/+2
2020-07-22perf: <linux/perf_event.h>: drop a duplicated wordRandy Dunlap1-1/+1
2020-07-08perf/x86: Remove task_ctx_sizeKan Liang1-4/+0
2020-07-08perf/core: Use kmem_cache to allocate the PMU specific dataKan Liang1-0/+5
2020-07-01perf: Expose get/put_callchain_entry()Song Liu1-0/+2
2020-06-15perf: Add perf text poke eventAdrian Hunter1-0/+8
2020-06-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-nextLinus Torvalds1-8/+5
2020-05-19perf/core: Replace zero-length array with flexible-arrayGustavo A. R. Silva1-2/+2
2020-04-27sysctl: pass kernel pointers to ->proc_handlerChristoph Hellwig1-8/+5
2020-04-16perf/core: Open access to the core for CAP_PERFMON privileged processAlexey Budankov1-3/+3
2020-03-27perf/core: Add PERF_SAMPLE_CGROUP featureNamhyung Kim1-0/+1
2020-03-06perf/core: Add per perf_cpu_context min_heap storageIan Rogers1-0/+7
2020-02-11perf/core: Add new branch sample type for HW index of raw branch recordsKan Liang1-0/+12
2020-02-09Merge tag 'perf-urgent-2020-02-09' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-0/+4
2020-01-28kernel/events: Add a missing prototype for arch_perf_update_userpage()Benjamin Thiel1-0/+4
2020-01-13perf: Make struct ring_buffer less ambiguousSteven Rostedt (VMware)1-3/+3
2019-11-26Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-5/+59
2019-11-21Merge branch 'kvm-tsx-ctrl' into HEADPaolo Bonzini1-1/+1
2019-11-15perf/core: Provide a kernel-internal interface to pause perf_eventLike Xu1-0/+5
2019-11-15perf/core: Provide a kernel-internal interface to recalibrate event periodLike Xu1-0/+5
2019-11-13perf/aux: Allow using AUX data in perf samplesAlexander Shishkin1-0/+19
2019-10-28perf/core, perf/x86: Introduce swap_task_ctx() method at 'struct pmu'Alexey Budankov1-0/+9
2019-10-28Merge branch 'perf/urgent' into perf/core, to pick up fixesIngo Molnar1-1/+1
2019-10-28perf/headers: Fix spelling s/EACCESS/EACCES/, s/privilidge/privilege/Geert Uytterhoeven1-1/+1
2019-10-17perf_event: Add support for LSM and SELinux checksJoel Fernandes (Google)1-5/+31
2019-08-28perf: Allow normal events to output AUX dataAlexander Shishkin1-0/+14
2019-07-13perf/core: Fix exclusive events' groupingAlexander Shishkin1-0/+5
2019-07-08Merge tag 'v5.2' into perf/core, to pick up fixesIngo Molnar1-0/+1
2019-06-24perf/cgroups: Don't rotate events for cgroups unnecessarilyIan Rogers1-0/+5
2019-06-24perf/x86: Disable extended registers for non-supported PMUsKan Liang1-0/+1
2019-06-03perf/core: Add attr_groups_update into struct pmuJiri Olsa1-0/+1
2019-05-17Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-0/+1
2019-05-06Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-5/+14
2019-05-03perf/x86/intel/pt: Remove software double buffering PMU capabilityAlexander Shishkin1-1/+0
2019-04-30KVM: x86: Inject PMI for KVM guestLuwei Kang1-0/+1
2019-04-29perf/x86: Make perf callchains work without CONFIG_FRAME_POINTERKairui Song1-4/+10
2019-04-16perf/core: Add perf_pmu_resched() as global functionStephane Eranian1-0/+3
2019-04-03perf/headers: Fix stale comment for struct perf_addr_filterShaokun Zhang1-1/+1
2019-02-28Merge tag 'perf-core-for-mingo-5.1-20190225' of git://git.kernel.org/pub/scm/...Ingo Molnar1-1/+6
2019-02-28Merge branch 'linus' into perf/core, to pick up fixesIngo Molnar1-0/+5
2019-02-22perf, pt, coresight: Fix address filters for vmas with non-zero offsetAlexander Shishkin1-1/+6
2019-02-11perf/x86: Add check_period PMU callbackJiri Olsa1-0/+5
2019-02-06perf/aux: Make perf_event accessible to setup_aux()Mathieu Poirier1-1/+1
2019-02-04perf: Convert perf_event_context.refcount to refcount_tElena Reshetova1-1/+2
2019-01-21perf, bpf: Introduce PERF_RECORD_BPF_EVENTSong Liu1-0/+6
2019-01-21perf, bpf: Introduce PERF_RECORD_KSYMBOLSong Liu1-0/+8
2019-01-21perf: Make perf_event_output() propagate the output() returnArnaldo Carvalho de Melo1-3/+3
2019-01-21perf: Remove duplicated workqueue.h include from perf_event.hYueHaibing1-1/+0
2019-01-21perf/core: Add PERF_PMU_CAP_NO_EXCLUDE for exclusion incapable PMUsAndrew Murray1-0/+1
2019-01-21perf/core: Add function to test for event exclusion flagsAndrew Murray1-0/+9
2018-12-11perf/core: Declare the __percpu attribute on non-deref typesMukesh Ojha1-2/+2
2018-07-25Merge branch 'perf/urgent' into perf/core, to pick up fixesIngo Molnar1-0/+1
2018-07-25perf/x86/intel: Fix unwind errors from PEBS entries (mk-II)Peter Zijlstra1-0/+1
2018-07-16perf, tools: Use correct articles in commentsTobias Tefke1-1/+1
2018-06-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-0/+5
2018-05-25perf/core: Fix bad use of igrab()Song Liu1-1/+1
2018-05-25perf/core: Fix group scheduling with mixed hw and sw eventsSong Liu1-0/+8
2018-05-24perf/core: add perf_get_event() to return perf_event given a struct fileYonghong Song1-0/+5
2018-03-29perf/x86/pt, coresight: Clean up address filter structureAlexander Shishkin1-5/+9
2018-03-16perf: Fix sibling iterationPeter Zijlstra1-0/+4
2018-03-12perf/core: Optimize ctx_sched_out()Peter Zijlstra1-0/+5
2018-03-12perf/core: Remove perf_event::group_entryPeter Zijlstra1-5/+0
2018-03-12perf/cor: Use RB trees for pinned/flexible groupsAlexey Budankov1-3/+13
2017-12-05bpf: correct broken uapi for BPF_PROG_TYPE_PERF_EVENT program typeHendrik Brueckner1-1/+5
2017-11-17Merge tag 'trace-v4.15' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-1/+1
2017-10-27perf/core: Rewrite event timekeepingPeter Zijlstra1-18/+1
2017-10-27perf/core: Rename 'enum perf_event_active_state'Peter Zijlstra1-3/+3
2017-10-27perf/bpf: Extend the perf_event_read_local() interface, a.k.a. "bpf: perf eve...Yonghong Song1-2/+5
2017-10-16perf/ftrace: Revert ("perf/ftrace: Fix double traces of perf on ftrace:functi...Peter Zijlstra1-1/+1
2017-09-04Merge branch 'x86-cache-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-18/+0
2017-08-29perf/core, x86: Add PERF_SAMPLE_PHYS_ADDRKan Liang1-0/+2
2017-08-29perf/core, pt, bts: Get rid of itrace_startedAlexander Shishkin1-3/+2
2017-08-29perf/ftrace: Fix double traces of perf on ftrace:functionZhou Chengming1-1/+1
2017-08-10perf/x86: Fix RDPMC vs. mm_struct trackingPeter Zijlstra1-2/+2
2017-08-01x86/perf/cqm: Wipe out perf based cqmVikas Shivappa1-18/+0
2017-07-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-2/+5
2017-06-04perf, bpf: Add BPF support to all perf_event typesAlexei Starovoitov1-2/+5
2017-05-26perf/tracing/cpuhotplug: Fix locking orderThomas Gleixner1-0/+2
2017-03-30x86/events/amd/iommu: Add IOMMU-specific hw_perf_event structSuravee Suthikulpanit1-0/+7
2017-03-16perf/core: Keep AUX flags in the output handleWill Deacon1-3/+5
2017-03-13perf: Add PERF_RECORD_NAMESPACES to include namespaces related infoHari Bathini1-0/+2
2017-02-10perf/core: Allow kernel filters on CPU eventsAlexander Shishkin1-0/+2
2017-01-30perf/core: Remove perf_cpu_context::unique_pmuDavid Carrillo-Cisneros1-1/+0
2017-01-30perf/core: Make cgroup switch visit only cpuctxs with cgroup eventsDavid Carrillo-Cisneros1-0/+1
2017-01-14perf/x86/intel: Account interrupts for PEBS errorsJiri Olsa1-0/+1
2016-10-28perf/powerpc: Don't call perf_event_disable() from atomic contextJiri Olsa1-0/+1
2016-10-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-0/+9
2016-09-02perf, bpf: add perf events core support for BPF_PROG_TYPE_PERF_EVENT programsAlexei Starovoitov1-0/+4
2016-09-02bpf: introduce BPF_PROG_TYPE_PERF_EVENT program typeAlexei Starovoitov1-0/+5
2016-08-18perf/core: Introduce PMU_EV_CAP_READ_ACTIVE_PKGDavid Carrillo-Cisneros1-0/+3
2016-08-18perf/core: Generalize event->group_flagsDavid Carrillo-Cisneros1-5/+13
2016-08-10perf/core: Optimize perf_pmu_sched_task()Peter Zijlstra1-0/+3
2016-08-10perf/core: Set cgroup in CPU contexts for new cgroup eventsDavid Carrillo-Cisneros1-0/+4
2016-07-29Merge branch 'smp-hotplug-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-35/+9
2016-07-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-1/+19
2016-07-25bpf, events: fix offset in skb copy handlerDaniel Borkmann1-1/+1
2016-07-15perf, events: add non-linear data support for raw recordsDaniel Borkmann1-1/+19
2016-07-14perf/core: Remove perf CPU notifier codeThomas Gleixner1-35/+0
2016-07-14perf/core: Convert to hotplug state machineThomas Gleixner1-0/+9
2016-06-08Merge branch 'linus' into perf/core, to refresh the branchIngo Molnar1-3/+1
2016-06-03perf/x86: Support sysfs files depending on SMT statusAndi Kleen1-0/+7
2016-06-03perf/core: Optimize side-band event deliveryKan Liang1-0/+6
2016-05-30perf core: Per event callchain limitArnaldo Carvalho de Melo1-1/+1
2016-05-25Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-5/+29
2016-05-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-3/+1
2016-05-16perf core: Separate accounting of contexts and real addresses in a stack traceArnaldo Carvalho de Melo1-2/+16
2016-05-16perf core: Add perf_callchain_store_context() helperArnaldo Carvalho de Melo1-0/+2