aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/events/core.c
AgeCommit message (Expand)AuthorFilesLines
7 daysMerge tag 'mm-stable-2024-05-17-19-19' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-2/+2
2024-04-25mm/treewide: rename CONFIG_HAVE_FAST_GUP to CONFIG_HAVE_GUP_FASTDavid Hildenbrand1-2/+2
2024-04-14perf/bpf: Mark perf_event_set_bpf_handler() and perf_event_free_bpf_handler()...Ingo Molnar1-4/+4
2024-04-14perf: Move perf_event_fasync() to perf_event.hKyle Huey1-8/+0
2024-04-12perf/bpf: Change the !CONFIG_BPF_SYSCALL stubs to static inlinesIngo Molnar1-7/+7
2024-04-12perf/bpf: Allow a BPF program to suppress all sample side effectsKyle Huey1-2/+4
2024-04-12perf/bpf: Call BPF handler directly, not through overflow machineryKyle Huey1-16/+11
2024-04-12perf/bpf: Create bpf_overflow_handler() stub for !CONFIG_BPF_SYSCALLKyle Huey1-0/+6
2024-04-12perf/bpf: Reorder bpf_overflow_handler() ahead of __perf_event_overflow()Kyle Huey1-91/+92
2024-04-10perf/core: Reduce PMU access to adjust sample freqNamhyung Kim1-1/+2
2024-04-10perf/core: Optimize perf_adjust_freq_unthr_context()Namhyung Kim1-26/+44
2024-03-11bpf: move sleepable flag from bpf_prog_aux to bpf_progAndrii Nakryiko1-1/+1
2024-01-29perf/bpf: Fix duplicate type checkFlorian Lehner1-5/+1
2024-01-08Merge tag 'perf-core-2024-01-08' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-12/+34
2023-12-15perf: Fix perf_event_validate_size() lockdep splatMark Rutland1-0/+10
2023-11-29perf: Fix perf_event_validate_size()Peter Zijlstra1-23/+38
2023-11-23perf: Fix the nr_addr_filters fixPeter Zijlstra1-3/+1
2023-11-15perf/core: Fix narrow startup race when creating the perf nr_addr_filters sys...Greg KH1-12/+28
2023-11-15Merge branch 'tip/perf/urgent'Peter Zijlstra1-6/+51
2023-11-15perf/core: Fix cpuctx refcountingPeter Zijlstra1-0/+17
2023-10-30Merge tag 'perf-core-2023-10-28' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-60/+77
2023-10-27perf: Add branch stack countersKan Liang1-0/+8
2023-10-24perf/core: Fix potential NULL derefPeter Zijlstra1-1/+2
2023-10-19perf: Disallow mis-matched inherited group readsPeter Zijlstra1-6/+33
2023-10-12perf: Optimize perf_cgroup_switch()Peter Zijlstra1-55/+60
2023-10-09perf/core: Allow reading package events from perf_event_read_localTero Kristo1-3/+15
2023-10-05perf/core: Rename perf_proc_update_handler() -> perf_event_max_sample_rate_ha...Xiu Jianfeng1-2/+2
2023-08-29Merge tag 'mm-stable-2023-08-28-18-26' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-22/+11
2023-08-28Merge tag 'perf-core-2023-08-28' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-9/+9
2023-08-21perf/core: use vma_is_initial_stack() and vma_is_initial_heap()Kefeng Wang1-22/+11
2023-07-27perf: Replace strlcpy with strscpyAzeem Shaikh1-3/+3
2023-07-10perf/core: Use local64_try_cmpxchg in perf_swevent_set_periodUros Bizjak1-9/+9
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-28Merge tag 'mm-stable-2023-06-24-19-15' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-0/+4
2023-06-27Merge tag 'perf-core-2023-06-27' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-36/+41
2023-06-19perf/core: allow pte_offset_map() to failHugh Dickins1-0/+4
2023-06-06perf: Re-instate the linear PMU searchPeter Zijlstra1-13/+24
2023-05-30perf: Allow a PMU to have a parentJonathan Cameron1-0/+1
2023-05-08perf/core: Remove pmu linear searching codeRavi Bangoria1-24/+13
2023-05-08perf/core: Rework forwarding of {task|cpu}-clock eventsRavi Bangoria1-36/+41
2023-05-08perf/core: Fix perf_sample_data not properly initialized for different sweven...Yang Jihong1-1/+13
2023-04-28Merge tag 'perf-core-2023-04-27' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-2/+2
2023-04-14perf/core: Fix hardlockup failure caused by perf throttleYang Jihong1-2/+2
2023-04-05perf/core: Fix the same task check in perf_event_set_outputKan Liang1-1/+1
2023-04-05perf: Optimize perf_pmu_migrate_context()Peter Zijlstra1-5/+7
2023-03-15perf: Fix check before add_event_to_groups() in perf_group_detach()Budimir Markovic1-1/+1
2023-03-15perf: fix perf_event_context->timeSong Liu1-1/+1
2023-03-15perf/core: Fix perf_output_begin parameter is incorrectly invoked in perf_eve...Yang Jihong1-1/+1
2023-02-24Merge tag 'char-misc-6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+1
2023-02-23Merge tag 'mm-stable-2023-02-20-13-37' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+1
2023-02-20Merge tag 'perf-core-2023-02-20' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-95/+112
2023-02-09mm: replace vma->vm_flags direct modifications with modifier callsSuren Baghdasaryan1-1/+1
2023-02-06Merge 6.2-rc7 into char-misc-nextGreg Kroah-Hartman1-22/+17
2023-01-31perf: Fix perf_event_pmu_context serializationJames Clark1-22/+17
2023-01-19kernel: events: Export perf_report_aux_output_id()Mike Leach1-0/+1
2023-01-18perf/core: Call perf_prepare_sample() before running BPFNamhyung Kim1-7/+1
2023-01-18perf/core: Introduce perf_prepare_header()Namhyung Kim1-14/+24
2023-01-18perf/core: Do not pass header for sample ID initNamhyung Kim1-7/+7
2023-01-18perf/core: Set data->sample_flags in perf_prepare_sample()Namhyung Kim1-20/+65
2023-01-18perf/core: Add perf_sample_save_brstack() helperNamhyung Kim1-11/+5
2023-01-18perf/core: Add perf_sample_save_raw_data() helperNamhyung Kim1-26/+5
2023-01-18perf/core: Add perf_sample_save_callchain() helperNamhyung Kim1-10/+2
2023-01-18perf/core: Save the dynamic parts of sample data sizeNamhyung Kim1-7/+10
2022-12-27perf/core: Call LSM hook after copying perf_event_attrNamhyung Kim1-3/+3
2022-12-27perf: Fix use-after-free in error pathPeter Zijlstra1-1/+3
2022-12-27perf/core: Fix cgroup events trackingChengming Zhou1-32/+10
2022-12-27perf core: Return error pointer if inherit_event() fails to find pmu_ctxRavi Bangoria1-1/+1
2022-12-17Merge tag 'x86_mm_for_6.2_v2' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2022-12-15mm/gup: Fix the lockless PMD accessPeter Zijlstra1-1/+1
2022-12-12Merge tag 'perf-core-2022-12-12' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1013/+1087
2022-12-04Merge tag 'perf_urgent_for_v6.1_rc8' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-4/+13
2022-11-29Merge tag 'net-6.1-rc8-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-1/+1
2022-11-29perf: Fix perf_pending_task() UaFPeter Zijlstra1-4/+13
2022-11-24perf/core: Don't allow grouping events from different hw pmusRavi Bangoria1-9/+15
2022-11-24perf: Fix function pointer casePeter Zijlstra1-2/+6
2022-11-24perf: Consider OS filter failPeter Zijlstra1-2/+22
2022-11-24perf: Fixup SIGTRAP and sample_flags interactionPeter Zijlstra1-1/+4
2022-11-15perf: Fix possible memleak in pmu_dev_alloc()Chen Zhongjin1-3/+5
2022-11-15perf: Fix IS_ERR() vs NULL check in inherit_event()Gaosheng Cui1-1/+1
2022-11-15perf: Remove unused pointer task_ctxColin Ian King1-2/+0
2022-11-15bpf, perf: Use subprog name when reporting subprog ksymbolHou Tao1-1/+1
2022-11-08perf: Improve missing SIGTRAP checkingMarco Elver1-6/+19
2022-10-27perf: Optimize perf_tp_event()Ravi Bangoria1-55/+79
2022-10-27perf: Rewrite core context handlingPeter Zijlstra1-958/+998
2022-10-27perf: Fix missing raw data on tracepoint eventsJames Clark1-0/+1
2022-10-17perf: Fix missing SIGTRAPsPeter Zijlstra1-38/+113
2022-10-10Merge tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+2
2022-10-10Merge tag 'perf-core-2022-10-07' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-29/+59
2022-10-04perf: Fix pmu_filter_match()Peter Zijlstra1-3/+9
2022-09-29perf/x86/amd: Support PERF_SAMPLE_PHY_ADDRRavi Bangoria1-1/+2
2022-09-27perf, hw_breakpoint: Fix use-after-free if perf_event_open() failsMarco Elver1-3/+1
2022-09-27perf: Use sample_flags for raw_dataNamhyung Kim1-1/+2
2022-09-27perf: Use sample_flags for addrNamhyung Kim1-0/+5
2022-09-26perf: use VMA iteratorMatthew Wilcox (Oracle)1-1/+2
2022-09-21perf/core: Convert snprintf() to scnprintf()Jules Irenge1-3/+3
2022-09-13perf/bpf: Always use perf callchains if existNamhyung Kim1-2/+10
2022-09-13perf: Use sample_flags for callchainNamhyung Kim1-1/+1
2022-09-07perf: Add a few assertionsPeter Zijlstra1-0/+2
2022-09-07perf: Consolidate branch sample filter helpersAnshuman Khandual1-7/+2
2022-09-06perf: Use sample_flags for txnKan Liang1-0/+3
2022-09-06perf: Use sample_flags for data_srcKan Liang1-0/+3
2022-09-06perf: Use sample_flags for weightKan Liang1-0/+3
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-6/+11
2022-09-06perf/core: Fix reentry problem in perf_output_read_group()Yang Jihong1-0/+9
2022-08-06Merge tag 'perf-urgent-2022-08-06' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-1/+1
2022-08-04perf/core: Fix ';;' typoSlark Xiao1-1/+1
2022-08-03Merge tag 'net-next-6.0' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-6/+10
2022-08-01Merge tag 'perf-core-2022-08-01' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-3/+18
2022-07-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-14/+31
2022-07-13perf/core: Fix data race between perf_event_set_output() and perf_mmap_close()Peter Zijlstra1-14/+31
2022-06-28perf/core: Add a new read format to get a number of lost samplesNamhyung Kim1-3/+18
2022-06-17Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-6/+10
2022-06-16bpf: allow sleepable uprobe programs to attachDelyan Kratunov1-6/+10
2022-05-27perf/core: Remove unused local variableHaowen Bai1-1/+0
2022-05-24Merge tag 'perf-core-2022-05-23' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-2/+2
2022-05-20perf: Fix sys_perf_event_open() race against selfPeter Zijlstra1-0/+14
2022-05-11Merge branch 'v5.18-rc5'Peter Zijlstra1-158/+56
2022-04-22signal: Deliver SIGTRAP on perf event asynchronously if blockedMarco Elver1-2/+2
2022-04-19perf/core: Fix perf_mmap fail when CONFIG_PERF_USE_VMALLOC enabledZhipeng Xie1-1/+1
2022-04-05perf/core: Always set cpuctx cgrp when enable cgroup eventChengming Zhou1-16/+2
2022-04-05perf/core: Fix perf_cgroup_switch()Chengming Zhou1-107/+25
2022-04-05perf/core: Use perf_cgroup_info->active to check if cgroup is activeChengming Zhou1-5/+2
2022-04-05perf/core: Don't pass task around when ctx sched inChengming Zhou1-32/+26
2022-04-05perf/core: Inherit event_capsNamhyung Kim1-0/+3
2022-03-23Merge tag 'asm-generic-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-3/+0
2022-03-22Merge tag 'perf-core-2022-03-21' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-2/+3
2022-02-25uaccess: remove CONFIG_SET_FSArnd Bergmann1-3/+0
2022-02-06perf: Fix list corruption in perf_cgroup_switch()Song Liu1-2/+2
2022-02-02perf/core: Allow kernel address filter when not filtering the kernelAdrian Hunter1-2/+0
2022-02-02perf/core: Fix address filter parser for multiple filtersAdrian Hunter1-0/+3
2022-02-02perf: Copy perf_event_attr::sig_data on modificationMarco Elver1-0/+16
2022-01-26perf/core: Fix cgroup event list managementNamhyung Kim1-2/+9
2022-01-26perf: Always wake the parent eventJames Clark1-2/+10
2022-01-18perf: Fix perf_event_read_local() timePeter Zijlstra1-100/+146
2022-01-12Merge tag 'perf_core_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-12/+29
2021-12-14perf: Add a counter for number of user access events in contextRob Herring1-0/+4
2021-11-23perf: Ignore sigtrap for tracepoints destined for other tasksMarco Elver1-0/+3
2021-11-17perf/core: Use static_call to optimize perf_guest_info_callbacksSean Christopherson1-0/+15
2021-11-17perf: Force architectures to opt-in to guest callbacksSean Christopherson1-0/+2
2021-11-17perf: Stop pretending that perf can handle multiple guest callbacksSean Christopherson1-11/+4
2021-11-17perf: Protect perf_guest_cbs with RCUSean Christopherson1-3/+10
2021-11-11perf/core: Avoid put_page() when GUP failsGreg Thelen1-5/+5
2021-11-02Merge tag 'net-next-for-5.16' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+2
2021-11-01Merge tag 'perf-core-2021-10-31' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+30
2021-10-15perf/x86: Add new event for AUX output counter indexAdrian Hunter1-0/+30
2021-10-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-4/+30
2021-10-01perf/core: fix userpage->time_enabled of inactive eventsSong Liu1-4/+30
2021-09-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2021-09-15events: Reuse value read using READ_ONCE instead of re-reading itBaptiste Lepers1-1/+1
2021-09-13perf: Enable branch record for software eventsSong Liu1-0/+2
2021-09-04Merge tag 'denywrite-for-5.15' of git://github.com/davidhildenbrand/linuxLinus Torvalds1-2/+0
2021-09-03mm: remove VM_DENYWRITEDavid Hildenbrand1-2/+0
2021-08-19bpf: Fix NULL event->prog pointer access in bpf_overflow_handlerYonghong Song1-1/+4
2021-08-17bpf: Allow to specify user-provided bpf_cookie for BPF perf linksAndrii Nakryiko1-7/+14
2021-08-17bpf: Implement minimal BPF perf linkAndrii Nakryiko1-6/+4
2021-08-17bpf: Refactor perf_event_set_bpf_prog() to use struct bpf_prog inputAndrii Nakryiko1-33/+28
2021-08-17bpf: Refactor BPF_PROG_RUN into a functionAndrii Nakryiko1-1/+1
2021-07-16perf: Refactor permissions check into perf_check_permission()Marco Elver1-26/+32
2021-07-16perf: Fix required permissions if sigtrap is requestedMarco Elver1-1/+24
2021-06-29Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-2/+0
2021-06-29perf: MAP_EXECUTABLE does not indicate VM_MAYEXECDavid Hildenbrand1-2/+0
2021-06-28Merge tag 'sched-core-2021-06-28' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-4/+3
2021-06-28Merge tag 'perf-core-2021-06-28' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-5/+16
2021-06-23perf: Fix task context PMU for HeteroPeter Zijlstra1-1/+8
2021-06-18sched,perf,kvm: Fix preemption conditionPeter Zijlstra1-4/+3
2021-05-31perf: Fix data race between pin_count increment/decrementMarco Elver1-0/+2
2021-05-27perf/core: Fix DocBook warningsHaocheng Xie1-0/+4
2021-05-27perf/core: Make local function perf_pmu_snapshot_aux() staticHaocheng Xie1-4/+4
2021-05-21Merge branch 'for-v5.13-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-9/+2
2021-05-18signal: Factor force_sig_perf out of perf_sigtrapEric W. Biederman1-9/+2
2021-05-01Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-5/+0
2021-04-22perf: Get rid of oprofile leftoversMarc Zyngier1-5/+0
2021-04-19perf: Extend PERF_TYPE_HARDWARE and PERF_TYPE_HW_CACHEKan Liang1-3/+16
2021-04-16perf: Add support for SIGTRAP on perf eventsMarco Elver1-1/+48
2021-04-16perf: Add support for event removal on execMarco Elver1-8/+62
2021-04-16perf: Support only inheriting events if cloned with CLONE_THREADMarco Elver1-7/+14
2021-04-16perf: Apply PERF_EVENT_IOC_MODIFY_ATTRIBUTES to childrenMarco Elver1-1/+21
2021-04-16perf: Rework perf_event_exit_event()Peter Zijlstra1-63/+79
2021-03-16perf/core: Fix unconditional security_locked_down() callOndrej Mosnacek1-6/+6
2021-03-16perf core: Allocate perf_event in the target node memoryNamhyung Kim1-1/+4
2021-03-16perf core: Add a kmem_cache for struct perf_eventNamhyung Kim1-3/+6
2021-03-06perf/core: Flush PMU internal buffers for per-CPU eventsKan Liang1-4/+38
2021-02-26kernel: delete repeated words in commentsRandy Dunlap1-4/+4
2021-02-21Merge tag 'perf-core-2021-02-17' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-4/+7
2021-02-21Merge tag 'sched-core-2021-02-17' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-105/+90
2021-02-17rbtree, perf: Use new rbtree helpersPeter Zijlstra1-105/+90
2021-02-01perf/core: Add PERF_SAMPLE_WEIGHT_STRUCTKan Liang1-4/+7
2021-01-14perf: Add build id data in mmap2 eventJiri Olsa1-4/+28
2020-12-15Merge branch 'exec-update-lock-for-v5.11' of git://git.kernel.org/pub/scm/lin...Linus Torvalds1-6/+6
2020-12-10exec: Transform exec_update_mutex into a rw_semaphoreEric W. Biederman1-6/+6
2020-12-09perf: Break deadlock involving exec_update_mutexpeterz@infradead.org1-23/+23
2020-12-03perf/core: Fix arch_perf_get_page_size()Peter Zijlstra1-65/+38
2020-11-26Merge remote-tracking branch 'origin/master' into perf/corePeter Zijlstra1-42/+34
2020-11-09perf: Tweak perf_event_attr::exclusive semanticsPeter Zijlstra1-1/+1
2020-11-09perf: Fix event multiplexing for exclusive groupsPeter Zijlstra1-1/+1
2020-11-09perf: Simplify group_sched_in()Peter Zijlstra1-7/+3
2020-11-09perf: Simplify group_sched_out()Peter Zijlstra1-3/+0
2020-11-09perf/arch: Remove perf_sample_data::regs_user_copyPeter Zijlstra1-5/+3
2020-11-09perf: Reduce stack usage of perf_output_begin()Peter Zijlstra1-15/+17