aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/bpf/stackmap.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-07bpf: Fix stackmap overflow check on 32-bit archesToke Høiland-Jørgensen1-3/+6
2023-11-10bpf: Add crosstask check to __bpf_get_stackJordan Rome1-1/+10
2023-10-06bpf: Annotate struct bpf_stack_map with __counted_byKees Cook1-1/+1
2023-06-19bpf: Centralize permissions checks for all BPF map typesAndrii Nakryiko1-3/+0
2023-03-22bpf: return long from bpf_map_ops funcsJP Kobryn1-3/+3
2023-03-07bpf: stackmap memory usageYafang Shao1-0/+14
2022-09-13perf/bpf: Always use perf callchains if existNamhyung Kim1-2/+2
2022-04-26bpf: Compute map_btf_id during build timeMenglong Dong1-3/+2
2022-04-09bpf: Fix excessive memory allocation in stack_map_alloc()Yuntao Wang1-1/+0
2022-04-01bpf: Remove redundant assignment to smap->map.value_sizeYuntao Wang1-1/+0
2022-03-20bpf: Adjust BPF stack helper functions to accommodate skip > 0Namhyung Kim1-32/+24
2022-02-28bpf: Cache the last valid build_idHao Luo1-1/+11
2022-01-15bpf: Guard against accessing NULL pt_regs in bpf_get_task_stack()Naveen N. Rao1-2/+3
2021-11-12bpf: Introduce btf_tracing_idsSong Liu1-1/+1
2021-11-07bpf: Introduce helper bpf_find_vmaSong Liu1-73/+7
2021-09-30bpf: Fix integer overflow in prealloc_elems_and_freelist()Tatsuhiko Yasumatsu1-1/+2
2021-09-10bpf, mm: Fix lockdep warning triggered by stack_map_get_build_id_offset()Yonghong Song1-2/+8
2021-08-25bpf: Consolidate task_struct BTF_ID declarationsDaniel Xu1-3/+1
2021-04-01bpf: Refcount task stack in bpf_get_task_stackDave Marchevsky1-2/+10
2021-02-10Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-0/+2
2021-02-03bpf: Check for integer overflow when using roundup_pow_of_two()Bui Quang Minh1-0/+2
2021-01-14bpf: Add size arg to build_id_parse functionJiri Olsa1-1/+1
2021-01-14bpf: Move stack_map_get_build_id into libJiri Olsa1-139/+4
2020-12-15Merge tag 'net-next-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-13/+3
2020-12-02bpf: Eliminate rlimit-based memory accounting for stackmap mapsRoman Gushchin1-13/+3
2020-11-24irq_work: CleanupPeter Zijlstra1-1/+1
2020-09-21bpf: Allow specifying a BTF ID per argument in function protosLorenz Bauer1-3/+2
2020-08-28bpf: Add map_meta_equal map opsMartin KaFai Lau1-0/+1
2020-08-12bpf: Iterate through all PT_NOTE sections when looking for build idJiri Olsa1-10/+14
2020-07-25bpf: Fix build on architectures with special bpf_user_pt_regs_tSong Liu1-5/+4
2020-07-25bpf: Separate bpf_get_[stack|stackid] for perf events BPFSong Liu1-18/+166
2020-07-13bpf: Resolve BTF IDs in vmlinux imageJiri Olsa1-1/+4
2020-07-02bpf: Fix build without CONFIG_STACKTRACESong Liu1-0/+4
2020-07-01bpf: Introduce helper bpf_get_task_stack()Song Liu1-4/+73
2020-07-01bpf: Remove redundant synchronize_rcu.Alexei Starovoitov1-3/+0
2020-06-22bpf: Set map_btf_{name, id} for all map typesAndrey Ignatov1-0/+3
2020-06-09mmap locking API: add mmap_read_trylock_non_owner()Michel Lespinasse1-12/+5
2020-06-09mmap locking API: use coccinelle to convert mmap_sem rwsem call sitesMichel Lespinasse1-2/+2
2020-05-15bpf: Implement CAP_BPFAlexei Starovoitov1-1/+1
2020-02-24bpf/stackmap: Dont trylock mmap_sem with PREEMPT_RT and interrupts disabledDavid Miller1-3/+15
2019-12-03Merge branch 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+1
2019-11-26Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-1/+1
2019-11-11irq_work: Convert flags to atomic_tFrederic Weisbecker1-1/+1
2019-10-16bpf/stackmap: Fix deadlock with rq_lock in bpf_get_stack()Song Liu1-3/+4
2019-10-09locking/lockdep: Remove unused @nested argument from lock_release()Qian Cai1-1/+1
2019-06-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-4/+1
2019-05-31bpf: move memory size checks to bpf_map_charge_init()Roman Gushchin1-7/+1
2019-05-31bpf: rework memlock-based memory accounting for mapsRoman Gushchin1-13/+17
2019-05-31bpf: group memory related fields in struct bpf_map_memoryRoman Gushchin1-2/+2
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 206Thomas Gleixner1-4/+1
2019-02-11bpf: fix lockdep false positive in stackmapAlexei Starovoitov1-1/+7
2019-01-17bpf: zero out build_id for BPF_STACK_BUILD_ID_IPStanislav Fomichev1-0/+2
2019-01-17bpf: don't assume build-id length is always 20 bytesStanislav Fomichev1-2/+5
2019-01-10bpf: fix panic in stack_map_get_build_id() on i386 and arm32Song Liu1-1/+2
2018-10-19bpf: rename stack trace map operationsMauricio Vasquez B1-1/+1
2018-10-09bpf: return EOPNOTSUPP when map lookup isn't supportedPrashant Bhole1-1/+1
2018-08-13bpf: decouple btf from seq bpf fs dump and enable more mapsDaniel Borkmann1-0/+1
2018-05-28bpf: avoid -Wmaybe-uninitialized warningArnd Bergmann1-4/+3
2018-05-14bpf: enable stackmap with build_id in nmi contextSong Liu1-6/+53
2018-04-29bpf: add bpf_get_stack helperYonghong Song1-0/+67
2018-04-29bpf: change prototype for stack_map_get_build_id_offsetYonghong Song1-8/+5
2018-03-15bpf: extend stackmap to save binary_build_id+offset instead of addressSong Liu1-22/+235
2018-01-14bpf: add helper for copying attrs to struct bpf_mapJakub Kicinski1-5/+1
2018-01-06bpf: implement syscall command BPF_MAP_GET_NEXT_KEY for stacktrace mapYonghong Song1-2/+26
2017-10-20bpf: Add file mode configuration into bpf mapsChenbo Feng1-1/+4
2017-08-19bpf: Allow selecting numa node during map creationMartin KaFai Lau1-3/+5
2017-05-25bpf: fix wrong exposure of map_flags into fdinfo for lpmDaniel Borkmann1-0/+1
2017-04-11bpf: remove struct bpf_map_type_listJohannes Berg1-13/+1
2017-02-17bpf: mark all registered map/prog types as __ro_after_initDaniel Borkmann1-1/+1
2017-01-18bpf: don't trigger OOM killer under pressure with map allocDaniel Borkmann1-12/+8
2016-09-09bpf: add BPF_CALL_x macros for declaring helpersDaniel Borkmann1-3/+2
2016-06-08Merge branch 'linus' into perf/core, to refresh the branchIngo Molnar1-1/+1
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-1/+2
2016-05-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-1/+1
2016-05-16perf core: Pass max stack as a perf_callchain_entry contextArnaldo Carvalho de Melo1-1/+2
2016-04-27perf core: Allow setting up max frame stack depth via sysctlArnaldo Carvalho de Melo1-4/+4
2016-04-07bpf: support bpf_get_stackid() and bpf_perf_event_output() in tracepoint prog...Alexei Starovoitov1-1/+1
2016-03-08bpf: convert stackmap to pre-allocationAlexei Starovoitov1-18/+68
2016-03-08bpf: check for reserved flag bits in array and stack mapsAlexei Starovoitov1-0/+3
2016-02-20bpf: introduce BPF_MAP_TYPE_STACK_TRACEAlexei Starovoitov1-0/+237