-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Get bpf prog func name from insns
It'll get wrong func name of bpf prog when there are multiple bpf progs in one BTF. Instead, get the very first symbol name from bpf prog's instructions as its entry func name. Signed-off-by: Leon Hwang <[email protected]>
- Loading branch information
Showing
1 changed file
with
6 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters