aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDaniel Borkmann <[email protected]>2017-06-11 00:50:40 +0200
committerDavid S. Miller <[email protected]>2017-06-10 19:05:45 -0400
commit20b9d7ac48526ce9a14106241e76e8382d126a60 (patch)
tree8e5e133552c45aaf6eddf0e61c88939f2df57695 /tools/perf/scripts/python
parent41e8e40458a417bbbabfbec5362b8747601e6a3a (diff)
bpf: avoid excessive stack usage for perf_sample_data
perf_sample_data consumes 386 bytes on stack, reduce excessive stack usage and move it to per cpu buffer. It's allowed due to preemption being disabled for tracing, xdp and tc programs, thus at all times only one program can run on a specific CPU and programs cannot run from interrupt. We similarly also handle bpf_pt_regs. Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Alexei Starovoitov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions