Skip to content

Commit b43ca3b

Browse files
committed
.
1 parent fdb5811 commit b43ca3b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tool/zjit_iongraph.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ def run_ruby *cmd
2525
JSON.parse(File.read(path))
2626
end
2727

28+
if functions.empty?
29+
LOGGER.warn("No iongraph functions found for PID #{pid}")
30+
end
31+
2832
json = JSON.dump({version: 1, functions: functions})
2933
# Get zjit_iongraph.html from the sibling file next to this script
3034
html = File.read(File.join(File.dirname(__FILE__), "zjit_iongraph.html"))

0 commit comments

Comments
 (0)