aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2024-07-30 01:16:04 -0400
committerAndrii Nakryiko <andrii@kernel.org>2024-08-13 15:58:17 -0700
commit55f325958ccc41eaea43eb4546d4dc77c1b5ef8a (patch)
tree3a67490e9e4a0ce16ffc6c7c92d36cb5c87c834a /tools/perf/scripts/python/bin/stackcollapse-record
parentbpf: factor out fetching bpf_map from FD and adding it to used_maps list (diff)
downloadlinux-55f325958ccc41eaea43eb4546d4dc77c1b5ef8a.tar.gz
linux-55f325958ccc41eaea43eb4546d4dc77c1b5ef8a.zip
bpf: switch maps to CLASS(fd, ...)
Calling conventions for __bpf_map_get() would be more convenient if it left fpdut() on failure to callers. Makes for simpler logics in the callers. Among other things, the proof of memory safety no longer has to rely upon file->private_data never being ERR_PTR(...) for bpffs files. Original calling conventions made it impossible for the caller to tell whether __bpf_map_get() has returned ERR_PTR(-EINVAL) because it has found the file not be a bpf map one (in which case it would've done fdput()) or because it found that ERR_PTR(-EINVAL) in file->private_data of a bpf map file (in which case fdput() would _not_ have been done). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Reviewed-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
/linux/commit/drivers/net/dsa/mv88e6xxx/chip.c?id=30c4a5b0aad8aca80fa5c3d6f73229d90fe04d63&follow=1'>net: mv88e6xxx: use resolved link config in mac_link_up()Russell King1-16/+59 2020-02-27net: dsa: propagate resolved link config via mac_link_up()Russell King11-11/+32 2020-02-27net: phylink: propagate resolved link config via mac_link_up()Russell King11-41/+105 2020-02-27unix: It's CONFIG_PROC_FS not CONFIG_PROCFSDavid S. Miller1-1/+1 2020-02-27net: rmnet: fix packet forwarding in rmnet bridge modeTaehee Yoo1-0/+3 2020-02-27net: rmnet: fix bridge mode bugsTaehee Yoo4-77/+64 2020-02-27net: rmnet: use upper/lower device infrastructureTaehee Yoo1-19/+16 2020-02-27net: rmnet: do not allow to change mux id if mux id is duplicatedTaehee Yoo1-0/+4 2020-02-27net: rmnet: remove rcu_read_lock in rmnet_force_unassociate_device()Taehee Yoo1-2/+0 2020-02-27net: rmnet: fix suspicious RCU usageTaehee Yoo3-10/+9 2020-02-27net: rmnet: fix NULL pointer dereference in rmnet_changelink()Taehee Yoo1-4/+2 2020-02-27net: rmnet: fix NULL pointer dereference in rmnet_newlink()Taehee Yoo1-0/+5 2020-02-27dpaa2-eth: add support for nway resetRussell King1-0/+11 2020-02-27dpaa2-eth: add support for mii ioctlsRussell King1-1/+6 2020-02-27net: phy: marvell10g: read copper results from CSSR1Russell King1-52/+89 2020-02-27net: phy: marvell: don't interpret PHY status unless resolvedRussell King1-0/+5 2020-02-27mlx5: register lag notifier for init network namespace onlyJiri Pirko5-14/+6 2020-02-27s390/qeth: support configurable RX copybreakJulian Wiedmann3-10/+48 2020-02-27s390/qeth: don't check for IFF_UP when scheduling napiJulian Wiedmann1-2/+1 2020-02-27s390/qeth: don't re-start read cmd when IDX has terminatedJulian Wiedmann1-2/+3 2020-02-27s390/qeth: reset seqnos on connection startupJulian Wiedmann1-6/+5 2020-02-27s390/qeth: remove unused cmd definitionsJulian Wiedmann1-5/+0 2020-02-27s390/qeth: validate device-provided MAC addressJulian Wiedmann1-0/+2 2020-02-27s390/qeth: clean up CREATE_ADDR cmd codeJulian Wiedmann2-9/+6 2020-02-27s390/qeth: remove dead code in qeth_l3_iqd_read_initial_mac()Julian Wiedmann1-4/+0 2020-02-27unix: define and set show_fdinfo only if procfs is enabledTobias Klauser1-0/+4 2020-02-27selftests: mlxsw: resource_scale: Invoke for Spectrum-3Amit Cohen1-2/+3 2020-02-27selftests: mlxsw: Reduce router scale running time using offload indicationDanielle Ratson1-39/+14 2020-02-27selftests: mlxsw: Reduce running time using offload indicationDanielle Ratson1-19/+12