Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#40045 - systemd-analyze plot elements zero height
Attached to Project:
Arch Linux
Opened by Jeffrey Clark (h0tw1r3) - Tuesday, 22 April 2014, 22:04 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Wednesday, 23 April 2014, 21:16 GMT
Opened by Jeffrey Clark (h0tw1r3) - Tuesday, 22 April 2014, 22:04 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Wednesday, 23 April 2014, 21:16 GMT
|
DetailsDescription:
systemd-analyze produces an svg which all element height and y# attributes equal 0. Visually garbage output. <?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 width="2574px" height="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"> ... <rect class="box" x="0" y="0" width="2573.511" height="0.000" /> <line class="sec5" x1="0.000" y1="0" x2="0.000" y2="0.000" /> <text class="sec" x="0.000" y="-0.000" >0.0s</text> <line class="sec01" x1="10.781" y1="0" x2="10.781" y2="0.000" /> Additional info: * systemd 212-3 Steps to reproduce: $ systemd-analyze plot > output.svg View generated file in text editor, check height and y# attributes. |
This task depends upon
Closed by Gerardo Exequiel Pozzi (djgera)
Wednesday, 23 April 2014, 21:16 GMT
Reason for closing: Not a bug
Wednesday, 23 April 2014, 21:16 GMT
Reason for closing: Not a bug
--- a/src/analyze/analyze.c 2014-04-23 09:59:01.642964712 -0500
+++ b/src/analyze/analyze.c 2014-04-23 12:47:01.680298309 -0500
@@ -43,7 +43,7 @@
#include "pager.h"
#define SCALE_X (0.1 / 1000.0) /* pixels per us */
-#define SCALE_Y 20.0
+#define SCALE_Y (20.0)
#define compare(a, b) (((a) > (b))? 1 : (((b) > (a))? -1 : 0))