diff --git a/internal/bpflbr/bpf_prog_info.go b/internal/bpflbr/bpf_prog_info.go
index 952e87f..e70a925 100644
--- a/internal/bpflbr/bpf_prog_info.go
+++ b/internal/bpflbr/bpf_prog_info.go
@@ -46,7 +46,7 @@ func (b *bpfProgAddrLineInfo) get(addr uintptr) (*bpfProgLineInfo, bool) {
 	var line bpfProgLineInfo
 	line.funcName = b.funcName
 	line.ksymAddr = b.kaddrRange.start
-	line.fileName = b.lineInfos[idx].Line.FileName()
+	line.fileName = strings.TrimLeft(b.lineInfos[idx].Line.FileName(), "./")
 	line.fileLine = b.lineInfos[idx].Line.LineNumber()
 	return &line, true
 }
diff --git a/internal/bpflbr/dump.go b/internal/bpflbr/dump.go
index e0b04f2..f90cb91 100644
--- a/internal/bpflbr/dump.go
+++ b/internal/bpflbr/dump.go
@@ -84,8 +84,9 @@ func DumpProg(pf []ProgFlag) {
 		for len(fnInsns) > 0 {
 			kaddr := ksym + pc
 			if li, ok := jited2LineInfos[kaddr]; ok {
+				fileName := strings.TrimLeft(li.Line.FileName(), "./")
 				fmt.Fprintf(&sb, "; %s:%d:%d %s\n",
-					li.Line.FileName(), li.Line.LineNumber(), li.Line.LineColumn(),
+					fileName, li.Line.LineNumber(), li.Line.LineColumn(),
 					strings.TrimSpace(li.Line.Line()))
 			}