Lines Matching refs:vmlinux
49 vmlinux := filepath.Join(kernelObj, "vmlinux")
50 symbols, err := symbolizer.ReadSymbols(vmlinux)
52 return fmt.Errorf("failed to run nm on %v: %v", vmlinux, err)
62 initCoverPCs, err = coveredPCs(arch, vmlinux)
64 return fmt.Errorf("failed to run objdump on %v: %v", vmlinux, err)
69 initCoverVMOffset, err = getVMOffset(vmlinux)
88 vmlinux := filepath.Join(kernelObj, "vmlinux")
89 uncovered, err := uncoveredPcsInFuncs(vmlinux, pcs)
94 coveredFrames, _, err := symbolize(vmlinux, pcs)
99 return fmt.Errorf("'%s' does not have debug info (set CONFIG_DEBUG_INFO=y)", vmlinux)
102 uncoveredFrames, prefix, err := symbolize(vmlinux, uncovered)
206 func getVMOffset(vmlinux string) (uint32, error) {
207 out, err := osutil.RunCmd(time.Hour, "", "readelf", "-SW", vmlinux)
240 func uncoveredPcsInFuncs(vmlinux string, pcs []uint64) ([]uint64, error) {
334 func symbolize(vmlinux string, pcs []uint64) ([]symbolizer.Frame, string, error) {
338 frames, err := symb.SymbolizeArray(vmlinux, pcs)