#1069237 valgrind: callgrind_annotate - Use of uninitialized value in line 234

Package:
valgrind
Source:
valgrind
Description:
instrumentation framework for building dynamic analysis tools
Submitter:
Jari Aalto
Date:
2024-04-18 11:39:04 UTC
Severity:
normal
#1069237#5
Date:
2024-04-18 11:38:01 UTC
From:
To:
test.mk
	all:
		sleep 2

Test call:

	remake -P --trace=full -f test.mk all

	Created callgrind profiling data file: ...callgrind.out.4127732

Bug:
	callgrind_annotate callgrind.out.4127732 &> test.log

	cat test.log

Use of uninitialized value $y in numeric eq (==) at /usr/bin/callgrind_annotate line 234.
Use of uninitialized value $y in numeric eq (==) at /usr/bin/callgrind_annotate line 234, <INPUTFILE> line 1.
Use of uninitialized value $y in numeric eq (==) at /usr/bin/callgrind_annotate line 234.
--------------------------------------------------------------------------------
Profile data file 'callgrind.out.4127732' (creator: remake 4.3+dbg-1.6)
--------------------------------------------------------------------------------
Trigger: Normal program termination
Node: Targets
Profiled target:  remake -P --trace=full -f t.mk all (PID 4127732)
Events recorded:  Wt Rt
Events shown:     Wt Rt
Event sort order: Wt Rt
Thresholds:       99 0
Include dirs:
User annotated:
Auto-annotation:  on
--------------------------------------------------------------------------------
Wt                 Rt
--------------------------------------------------------------------------------
1,102,009 (100.0%) .           PROGRAM TOTALS
-------------------------------------------------------------------------------- Wt Rt file:function -------------------------------------------------------------------------------- 1,078,194 (97.84%) 1,075,766 ( 0.00%) t.mk:all
-------------------------------------------------------------------------------- -- Auto-annotated source: t.mk -------------------------------------------------------------------------------- Wt Rt 1,078,194 (97.84%) 1,075,766 ( 0.00%) all: . . sleep 1
-------------------------------------------------------------------------------- Wt Rt -------------------------------------------------------------------------------- 1,078,194 (97.84%) 1,075,766 ( 0.00%) events annotated