From fb0d50c16fafb6956a94c472b7c6a74a456e38b6 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Sun, 25 Sep 2011 16:34:24 +0200 Subject: systemd: bump to v36 2 of the 3 analyze patches have been applied upstream, delete them Signed-off-by: Koen Kooi --- ...1-analyze-always-draw-1s-marker-for-scale.patch | 42 ---------------------- ...-report-startup-time-in-plot-mode-as-well.patch | 38 -------------------- 2 files changed, 80 deletions(-) delete mode 100644 meta-oe/recipes-core/systemd/systemd/0001-analyze-always-draw-1s-marker-for-scale.patch delete mode 100644 meta-oe/recipes-core/systemd/systemd/0002-analyze-report-startup-time-in-plot-mode-as-well.patch (limited to 'meta-oe/recipes-core/systemd/systemd') diff --git a/meta-oe/recipes-core/systemd/systemd/0001-analyze-always-draw-1s-marker-for-scale.patch b/meta-oe/recipes-core/systemd/systemd/0001-analyze-always-draw-1s-marker-for-scale.patch deleted file mode 100644 index 6097893b15..0000000000 --- a/meta-oe/recipes-core/systemd/systemd/0001-analyze-always-draw-1s-marker-for-scale.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 0797320a7a8d6a8bd899a4149322486db7f5baa2 Mon Sep 17 00:00:00 2001 -From: Koen Kooi -Date: Thu, 22 Sep 2011 11:27:13 +0200 -Subject: [PATCH 1/3] analyze: always draw 1s marker for scale - -In situations like this: - -root@omap4430-panda:~# systemd-analyze -Startup finished in 1499ms (kernel) + 916ms (userspace) = 2416ms - -The svg plot will only have the 0s marker and no subsequent markers for scale. This patch forces the 1s marker to always be drawn. - -Signed-off-by: Koen Kooi ---- - src/systemd-analyze | 4 ++-- - 1 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/systemd-analyze b/src/systemd-analyze -index ae7dcfb..649d0e1 100755 ---- a/src/systemd-analyze -+++ b/src/systemd-analyze -@@ -147,7 +147,7 @@ elif sys.argv[1] == 'plot': - context.set_line_width(1) - context.set_source_rgb(0.7, 0.7, 0.7) - -- for x in range(0, (finish_time - start_time)/10000, 100): -+ for x in range(0, max((finish_time - start_time)/10000,110), 100): - context.move_to(x, 0) - context.line_to(x, height-border*2) - -@@ -163,7 +163,7 @@ elif sys.argv[1] == 'plot': - banner = "Running on %s (%s %s) %s" % (os.uname()[1], os.uname()[2], os.uname()[3], os.uname()[4]) - draw_text(context, 0, -15, banner, hcenter = 0, vcenter = 1) - -- for x in range(0, (finish_time - start_time)/10000, 100): -+ for x in range(0, max((finish_time - start_time)/10000,110), 100): - draw_text(context, x, -5, "%lus" % (x/100), vcenter = 0, hcenter = 0) - - y = 0 --- -1.6.6.1 - diff --git a/meta-oe/recipes-core/systemd/systemd/0002-analyze-report-startup-time-in-plot-mode-as-well.patch b/meta-oe/recipes-core/systemd/systemd/0002-analyze-report-startup-time-in-plot-mode-as-well.patch deleted file mode 100644 index 67b7b776dc..0000000000 --- a/meta-oe/recipes-core/systemd/systemd/0002-analyze-report-startup-time-in-plot-mode-as-well.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 88b284f5c079536f5151c3f1dcfc0e692ef26da6 Mon Sep 17 00:00:00 2001 -From: Koen Kooi -Date: Thu, 22 Sep 2011 14:55:17 +0200 -Subject: [PATCH 2/3] analyze: report startup time in plot mode as well - -It now prints something like "Startup finished in 1507ms (kernel) + 850ms (userspace) = 2357ms" below the legend. - -Signed-off-by: Koen Kooi ---- - src/systemd-analyze | 12 ++++++++++++ - 1 files changed, 12 insertions(+), 0 deletions(-) - -diff --git a/src/systemd-analyze b/src/systemd-analyze -index 649d0e1..d0db984 100755 ---- a/src/systemd-analyze -+++ b/src/systemd-analyze -@@ -221,6 +221,18 @@ elif sys.argv[1] == 'plot': - - draw_text(context, 0, height-border*2, "Legend: Red = Activating; Pink = Active; Dark Pink = Deactivating", hcenter = 0, vcenter = -1) - -+ if initrd_time > 0: -+ draw_text(context, 0, height-border*2 + bar_height, "Startup finished in %lums (kernel) + %lums (initrd) + %lums (userspace) = %lums" % ( \ -+ initrd_time/1000, \ -+ (start_time - initrd_time)/1000, \ -+ (finish_time - start_time)/1000, \ -+ finish_time/1000), hcenter = 0, vcenter = -1) -+ else: -+ draw_text(context, 0, height-border*2 + bar_height, "Startup finished in %lums (kernel) + %lums (userspace) = %lums" % ( \ -+ start_time/1000, \ -+ (finish_time - start_time)/1000, \ -+ finish_time/1000), hcenter = 0, vcenter = -1) -+ - surface.finish() - elif sys.argv[1] in ("help", "--help", "-h"): - help() --- -1.6.6.1 - -- cgit 1.2.3-korg