]> asedeno.scripts.mit.edu Git - linux.git/commit
Merge branch 'runqslower'
authorAlexei Starovoitov <ast@kernel.org>
Tue, 14 Jan 2020 01:48:13 +0000 (17:48 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 14 Jan 2020 17:23:20 +0000 (09:23 -0800)
commit6dd42aa17fdd59f383998c6c3e0ecc89414f4a04
treec585f9baa6383174387b5fc1002fdf2cdf9e0fd4
parentac065870d92824ee0bc275ab71fd8901dbde5055
parent3a0d3092a4edbbcd62360c44a931c8feaf4b4ff1
Merge branch 'runqslower'

Andrii Nakryiko says:

====================
Based on recent BPF CO-RE, tp_btf, and BPF skeleton changes, re-implement
BCC-based runqslower tool as a portable pre-compiled BPF CO-RE-based tool.
Make sure it's built as part of selftests to ensure it doesn't bit rot.

As part of this patch set, augment `format c` output of `bpftool btf dump`
sub-command with applying `preserve_access_index` attribute to all structs and
unions. This makes all such structs and unions automatically relocatable under
BPF CO-RE, which improves user experience of writing TRACING programs with
direct kernel memory read access.

Also, further clean up selftest/bpf Makefile output and make it conforming to
libbpf and bpftool succinct output format.

v1->v2:
- build in-tree bpftool for runqslower (Yonghong);
- drop `format core` and augment `format c` instead (Alexei);
- move runqslower under tools/bpf (Daniel).
====================

Signed-off-by: Alexei Starovoitov <ast@kernel.org>