aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorAlexei Starovoitov <[email protected]>2021-12-01 10:10:26 -0800
committerAndrii Nakryiko <[email protected]>2021-12-02 11:18:34 -0800
commit29db4bea1d10b73749d7992c1fc9ac13499e8871 (patch)
tree31f7d97402820d1003f9a6e21c0a2b85cafe7e4f /tools/perf/scripts/python/syscall-counts-by-pid.py
parent8293eb995f349aed28006792cad4cb48091919dd (diff)
bpf: Prepare relo_core.c for kernel duty.
Make relo_core.c to be compiled for the kernel and for user space libbpf. Note the patch is reducing BPF_CORE_SPEC_MAX_LEN from 64 to 32. This is the maximum number of nested structs and arrays. For example: struct sample { int a; struct { int b[10]; }; }; struct sample *s = ...; int *y = &s->b[5]; This field access is encoded as "0:1:0:5" and spec len is 4. The follow up patch might bump it back to 64. Signed-off-by: Alexei Starovoitov <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions