commit 04d86b0a66bf744ddd75e55455a7977f94424be3 parent 7fde192818aea4dab138bd997459c4fd30d302d4 Author: Andrew Laack <andrew@laack.co> Date: Sat, 17 Oct 2026 16:01:30 -0500 No onload Co-authored-by: Vim Diffstat:
| M | dev/hotcoldgraph.pl | | | 2 | +- |
| M | flamegraph.pl | | | 2 | +- |
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev/hotcoldgraph.pl b/dev/hotcoldgraph.pl @@ -84,7 +84,7 @@ my %Events; $self->{svg} .= <<SVG; <?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg version="1.1" width="$w" height="$h" onload="init(evt)" viewBox="0 0 $w $h" xmlns="http://www.w3.org/2000/svg" > +<svg version="1.1" width="$w" height="$h" viewBox="0 0 $w $h" xmlns="http://www.w3.org/2000/svg" > SVG } diff --git a/flamegraph.pl b/flamegraph.pl @@ -289,7 +289,7 @@ if ($bgcolors eq "yellow") { $self->{svg} .= <<SVG; <?xml version="1.0"$enc_attr standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg version="1.1" width="$w" height="$h" onload="init(evt)" viewBox="0 0 $w $h" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> +<svg version="1.1" width="$w" height="$h" viewBox="0 0 $w $h" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <!-- Flame graph stack visualization. See https://github.com/brendangregg/FlameGraph for latest version, and http://www.brendangregg.com/flamegraphs.html for examples. --> <!-- NOTES: $notestext --> SVG