bootchart: drop; unfetchable

This was replaced by bootchart2 long ago in oe-core.
gitorious.org no longer exists, so this is unfetchable.

Also, this has seen no development since bootchart2 was
created.

Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Tim Orling
2021-08-19 10:31:51 -07:00
committed by Khem Raj
parent c49173b09c
commit 3548503d13
4 changed files with 0 additions and 110 deletions
@@ -1,49 +0,0 @@
From 8d40b4c286e005e82fa50b66fbbbde22b7e65e15 Mon Sep 17 00:00:00 2001
From: Koen Kooi <koen@dominion.thruhere.net>
Date: Sun, 20 May 2012 21:35:34 +0200
Subject: [PATCH 1/2] svg: add rudimentary support for ARM cpuinfo
On ARM /proc/cpuinfo looks like this:
root@beagleboneA3-0428:~# cat /proc/cpuinfo
Processor : ARMv7 Processor rev 2 (v7l)
BogoMIPS : 498.89
Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x3
CPU part : 0xc08
CPU revision : 2
Hardware : am335xevm
Revision : 0000
Serial : 0000000000000000
So no real way to get the actual SoC name, TI AM3359, but a lot better than 'Unknown'
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
Upstream-Status: submitted
svg.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/svg.c b/svg.c
index 80e0292..53724b2 100644
--- a/svg.c
+++ b/svg.c
@@ -178,6 +178,10 @@ void svg_title(void)
strncpy(cpu, &buf[13], 255);
break;
}
+ if (strstr(buf, "Processor")) {
+ strncpy(cpu, &buf[12], 255);
+ break;
+ }
}
fclose(f);
}
--
1.7.10
@@ -1,39 +0,0 @@
From e3adb4c312c6ba3491b7c173559efac7a53e5abc Mon Sep 17 00:00:00 2001
From: Koen Kooi <koen@dominion.thruhere.net>
Date: Sun, 20 May 2012 22:12:29 +0200
Subject: [PATCH 2/2] svg: open /etc/os-release and use PRETTY_NAME for the
'Build' name
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
Upstream-Status: Submitted
svg.c | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/svg.c b/svg.c
index 53724b2..c675d84 100644
--- a/svg.c
+++ b/svg.c
@@ -194,6 +194,17 @@ void svg_title(void)
fclose(f);
}
+ f = fopen("/etc/os-release", "r");
+ if(f) {
+ while (fgets(buf, 255, f)) {
+ if (strstr(buf, "PRETTY_NAME=")) {
+ strncpy(build, &buf[12], 255);
+ break;
+ }
+ }
+ fclose(f);
+ }
+
svg("<text class=\"t1\" x=\"0\" y=\"30\">Bootchart for %s - %s</text>\n",
uts.nodename, date);
svg("<text class=\"t2\" x=\"20\" y=\"50\">System: %s %s %s %s</text>\n",
--
1.7.10
@@ -1,21 +0,0 @@
DESCRIPTION = "Monitors where the system spends its time at start, creating a graph of all processes, disk utilization, and wait time."
HOMEPAGE = "http://meego.gitorious.org/meego-developer-tools/bootchart"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=fcb02dc552a041dee27e4b85c7396067"
PV = "1.17"
PR = "r1"
PE = "1"
SRC_URI = "git://gitorious.org/meego-developer-tools/bootchart.git;protocol=https \
file://0001-svg-add-rudimentary-support-for-ARM-cpuinfo.patch \
file://0002-svg-open-etc-os-release-and-use-PRETTY_NAME-for-the-.patch \
"
SRCREV = "a2c7561d4060a9f075339bda89e793c76f2ff6dd"
S = "${WORKDIR}/git"
inherit autotools