Skip to contentSkip to conversation

statcol: New recipe for statistics collector application

PATCH In review Nikhil Devshatwar 2 participants 2 messages Oct 29, 2020

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 statcol: New recipe for statistics collector application

statcol is a statistics collector application which can be used to get various statistics data like CPU load, DDR bandwidth, network speed, etc from various sources.

It allows to simply dump the data over command line or it can also be used to send to a websocket for visualization on a host machine.

---

Notes:
v2: Add CROSS_COMPILE to fix build issues on armv7

 .../recipes-devtools/statcol/statcol.bb       | 20 +++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 meta-arago-extras/recipes-devtools/statcol/statcol.bb
meta-arago-extras/recipes-devtools/statcol/statcol.bb new file +20 -0
new file mode 100644
index 00000000..bb841d08
@@ -0,0 +1,20 @@
+SUMMARY = "Statistics collector application"
+
+LICENSE = "TI-TSPA"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=bb6bc27cd44417c389a180bd62f552a0"
+
+PROTOCOL = "git"
+BRANCH = "master"
+SRCREV = "6420b4e6d98dc2c6825557d7d6f56ffd52fd230c"
+SRC_URI = "git://git.ti.com/glsdk/statcol.git;protocol=${PROTOCOL};branch=${BRANCH}"
+
+DEPENDS = "ti-rpmsg-char websocketd"
+RDEPENDS_${PN} = "bash"
+
+S = "${WORKDIR}/git"
+
+EXTRA_OEMAKE += "SYSROOT=${STAGING_DIR_TARGET} CROSS_COMPILE=${TARGET_PREFIX}"
+
+do_install() {
+	DESTDIR=${D} make install
+}
Signature · 1 line
2.17.1
Reviewed-by on v2 1/1
#1 lore raw
Quoted 9 lines · Nikhil Devshatwar

statcol is a statistics collector application which can be used to get various statistics data like CPU load, DDR bandwidth, network speed, etc from various sources.

It allows to simply dump the data over command line or it can also be used to send to a websocket for visualization on a host machine.

Haven't personnaly tested it, but looks reasonable.

Quoted 38 lines

---

Notes:
v2: Add CROSS_COMPILE to fix build issues on armv7

 .../recipes-devtools/statcol/statcol.bb       | 20 +++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 meta-arago-extras/recipes-devtools/statcol/statcol.bb
meta-arago-extras/recipes-devtools/statcol/statcol.bb new file +20 -0
new file mode 100644
index 00000000..bb841d08
@@ -0,0 +1,20 @@
+SUMMARY = "Statistics collector application"
+
+LICENSE = "TI-TSPA"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=bb6bc27cd44417c389a180bd62f552a0"
+
+PROTOCOL = "git"
+BRANCH = "master"
+SRCREV = "6420b4e6d98dc2c6825557d7d6f56ffd52fd230c"
+SRC_URI = "git://git.ti.com/glsdk/statcol.git;protocol=${PROTOCOL};branch=${BRANCH}"
+
+DEPENDS = "ti-rpmsg-char websocketd"
+RDEPENDS_${PN} = "bash"
+
+S = "${WORKDIR}/git"
+
+EXTRA_OEMAKE += "SYSROOT=${STAGING_DIR_TARGET} CROSS_COMPILE=${TARGET_PREFIX}"
+
+do_install() {
+	DESTDIR=${D} make install
+}
Signature · 1 line
2.17.1