Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: cilium/pwru
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 5ec35e995f4642cdcf64b23e2f7e37fceba8d5e5
Choose a base ref
..
head repository: cilium/pwru
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7b97571c0e0f01c9348b5b862a44d2a9b41ed3ff
Choose a head ref
Showing with 2 additions and 1 deletion.
  1. +2 −1 main.go
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
@@ -97,7 +97,8 @@ func main() {
if len(funcs) == 0 && !flags.FilterTraceTc && !flags.FilterTraceXdp {
log.Fatalf("Cannot find a matching kernel function")
}
// If --filter-trace-tc, it's to retrieve and print bpf prog's name.
// If --filter-trace-tc/--filter-trace-xdp, it's to retrieve and print bpf
// prog's name.
addr2name, name2addr, err := pwru.ParseKallsyms(funcs, flags.OutputStack ||
len(flags.KMods) != 0 || flags.FilterTraceTc || flags.FilterTraceXdp)
if err != nil {