Skip to content

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

Closed

Conversation

kernel-patches-daemon-bpf[bot]
Copy link

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

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: cd2e103
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=968683
version: 1

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: 7fdaba9
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=968683
version: 1

@kernel-patches-daemon-bpf kernel-patches-daemon-bpf bot force-pushed the series/968683=>bpf-next branch from cb00c84 to 68dd2fc Compare June 5, 2025 16:32
@kernel-patches-daemon-bpf
Copy link
Author

At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=968683 expired. Closing PR.

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: 64a064c
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=969296
version: 2

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: e41079f
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=969296
version: 2

@kernel-patches-daemon-bpf kernel-patches-daemon-bpf bot force-pushed the series/968683=>bpf-next branch from 876b015 to e28305b Compare June 7, 2025 02:26
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]>
@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: e41079f
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=969296
version: 2

@kernel-patches-daemon-bpf kernel-patches-daemon-bpf bot deleted the series/968683=>bpf-next branch June 12, 2025 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants