diff options
author | Alexei Starovoitov <ast@kernel.org> | 2019-02-25 23:28:42 +0100 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-02-27 17:22:51 +0100 |
commit | 88ad472b8a4ad2292d11835652462fd9f745245e (patch) | |
tree | 8676141fa3057f59651204c33860ec24fecf19f9 /net/ipv4/ipip.c | |
parent | tools/bpf: sync bpf.h into tools (diff) | |
download | linux-88ad472b8a4ad2292d11835652462fd9f745245e.tar.xz linux-88ad472b8a4ad2292d11835652462fd9f745245e.zip |
tools/bpftool: recognize bpf_prog_info run_time_ns and run_cnt
$ bpftool p s
1: kprobe tag a56587d488d216c9 gpl run_time_ns 79786 run_cnt 8
loaded_at 2019-02-22T12:22:51-0800 uid 0
xlated 352B not jited memlock 4096B
$ bpftool --json --pretty p s
[{
"id": 1,
"type": "kprobe",
"tag": "a56587d488d216c9",
"gpl_compatible": true,
"run_time_ns": 79786,
"run_cnt": 8,
"loaded_at": 1550866971,
"uid": 0,
"bytes_xlated": 352,
"jited": false,
"bytes_memlock": 4096
}
]
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'net/ipv4/ipip.c')
0 files changed, 0 insertions, 0 deletions