summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorStanislav Fomichev <sdf@google.com>2019-04-01 13:57:33 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2019-04-03 16:49:48 +0200
commit2ee7fba0d62d638d8b6dbe30cada3a531ec042af (patch)
tree885eee23a75ca15ab8336bca87f53edc65fc0836 /tools/perf/scripts/python/bin/stackcollapse-record
parentb9e9c8599f0f23e3d2051befc9966a84b639f64f (diff)
downloadkernel-2ee7fba0d62d638d8b6dbe30cada3a531ec042af.tar.gz
flow_dissector: allow access only to a subset of __sk_buff fields
Use whitelist instead of a blacklist and allow only a small set of fields that might be relevant in the context of flow dissector: * data * data_end * flow_keys This is required for the eth_get_headlen case where we have only a chunk of data to dissect (i.e. trying to read the other skb fields doesn't make sense). Note, that it is a breaking API change! However, we've provided flow_keys->n_proto as a substitute for skb->protocol; and there is no need to manually handle skb->vlan_present. So even if we break somebody, the migration is trivial. Unfortunately, we can't support eth_get_headlen use-case without those breaking changes. Signed-off-by: Stanislav Fomichev <sdf@google.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
ned modeCiara Loftus 2019-08-31samples/bpf: use hugepages in xdpsock appKevin Laatz 2019-08-31samples/bpf: add buffer recycling for unaligned chunks to xdpsockKevin Laatz 2019-08-31samples/bpf: add unaligned chunks mode support to xdpsockKevin Laatz 2019-08-17samples/bpf: add use of need_wakeup flag in xdpsockMagnus Karlsson 2019-06-27xsk: Change the default frame size to 4096 and allow controlling itMaxim Mikityanskiy 2019-06-18samples: bpf: refactor header include pathDaniel T. Lee 2019-03-02samples/bpf: silence compiler warning for xdpsock_user.cYonghong Song 2019-02-25samples/bpf: convert xdpsock to use libbpf for AF_XDP accessMagnus Karlsson 2019-02-01samples/bpf: Check the prog id before exitingMaciej Fijalkowski 2019-02-01samples/bpf: Add a "force" flag to XDP samplesMaciej Fijalkowski 2018-09-01samples/bpf: xdpsock, minor fixesPrashant Bhole 2018-08-29samples/bpf: add -c/--copy -z/--zero-copy flags to xdpsockBjörn Töpel 2018-07-27samples: bpf: convert xdpsock_user.c to libbpfJakub Kicinski 2018-07-27samples/bpf: xdpsock: order memory on AArch64Brian Brooks 2018-07-02samples/bpf: deal with EBUSY return code from sendmsg in xdpsock sampleMagnus Karlsson 2018-06-05samples/bpf: xdpsock: use skb Tx path for XDP_SKBBjörn Töpel 2018-06-04samples/bpf: minor *_nb_free performance fixMagnus Karlsson 2018-06-04samples/bpf: adapted to new uapiBjörn Töpel 2018-05-22samples/bpf: adapt xdpsock to the new uapiBjörn Töpel 2018-05-18xsk: clean up SPDX headersBjörn Töpel 2018-05-14samples: bpf: include bpf/bpf.h instead of local libbpf.hJakub Kicinski 2018-05-03samples/bpf: sample application and documentation for AF_XDP socketsMagnus Karlsson