aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/io_uring_zerocopy_tx.sh
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2022-09-27 22:32:59 +0200
committerPeter Zijlstra <peterz@infradead.org>2022-09-27 22:50:25 +0200
commitcce6a2d7e0e494c453ad73e1e78bd50684f20cca (patch)
tree92b2017af8a07f18b6a9b2c9aae41fb8c474b3c9 /tools/testing/selftests/net/io_uring_zerocopy_tx.sh
parentperf, hw_breakpoint: Fix use-after-free if perf_event_open() fails (diff)
downloadlinux-dev-cce6a2d7e0e494c453ad73e1e78bd50684f20cca.tar.xz
linux-dev-cce6a2d7e0e494c453ad73e1e78bd50684f20cca.zip
bpf: Check flags for branch stack in bpf_read_branch_records helper
Recent commit [1] changed branch stack data indication from br_stack pointer to sample_flags in perf_sample_data struct. We need to check sample_flags for PERF_SAMPLE_BRANCH_STACK bit for valid branch stack data. [1] a9a931e26668 ("perf: Use sample_flags for branch stack") Fixes: a9a931e26668 ("perf: Use sample_flags for branch stack") Signed-off-by: Jiri Olsa <jolsa@kernel.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Kan Liang <kan.liang@linux.intel.com> Link: https://lore.kernel.org/r/20220927203259.590950-1-jolsa@kernel.org
Diffstat (limited to 'tools/testing/selftests/net/io_uring_zerocopy_tx.sh')
0 files changed, 0 insertions, 0 deletions