-
Notifications
You must be signed in to change notification settings - Fork 146
bpf: Add show_fdinfo for perf_event #9045
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Upstream branch: cd2e103 |
810d3c3
to
8af34a9
Compare
Upstream branch: 7fdaba9 |
cb00c84
to
68dd2fc
Compare
At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=968683 expired. Closing PR. |
Upstream branch: 64a064c |
68dd2fc
to
876b015
Compare
6d7073a
to
4a3e54f
Compare
Upstream branch: e41079f |
876b015
to
e28305b
Compare
4a3e54f
to
d7c6165
Compare
After commit 1b715e1 ("bpf: Support ->fill_link_info for perf_event") add perf_event info, we can also show the info with the method of cat /proc/[fd]/fdinfo. kprobe fdinfo: link_type: perf link_id: 10 prog_tag: bcf7977d3b93787c prog_id: 20 name: bpf_fentry_test1 offset: 0 missed: 0 addr: ffffffffa28a2904 event_type: kprobe cookie: 3735928559 uprobe fdinfo: link_type: perf link_id: 13 prog_tag: bcf7977d3b93787c prog_id: 21 name: /proc/self/exe offset: 63dce4 ref_ctr_offset: 33eee2a event_type: uprobe cookie: 3735928559 tracepoint fdinfo: link_type: perf link_id: 11 prog_tag: bcf7977d3b93787c prog_id: 22 tp_name: sched_switch event_type: tracepoint cookie: 3735928559 perf_event fdinfo: link_type: perf link_id: 12 prog_tag: bcf7977d3b93787c prog_id: 23 type: 1 config: 2 event_type: event cookie: 3735928559 Signed-off-by: Tao Chen <[email protected]>
Upstream branch: e41079f |
e28305b
to
13aeef8
Compare
d7c6165
to
1a13510
Compare
Pull request for series with
subject: bpf: Add show_fdinfo for perf_event
version: 1
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=968683