From d74662c088f5772bdbd30341485ac6eb042990da Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Mon, 4 Nov 2024 15:29:56 +0100 Subject: [PATCH 1/3] tiptop: Add version 2.3.2 [Description][1]: > Motivation > > Hardware performance monitoring counters have recently received a lot of > attention. They have been used by diverse communities to understand and improve > the quality of computing systems: for example, architects use them to extract > application characteristics and propose new hardware mechanisms; compiler > writers study how generated code behaves on particular hardware; software > developers identify critical regions of their applications and evaluate design > choices to select the best performing implementation. We propose that counters > be used by all categories of users, in particular non-experts, and we advocate > that a few simple metrics derived from these counters are relevant and useful. > For example, a low IPC (number of executed instructions per cycle) indicates > that the hardware is not performing at its best; a high cache miss ratio can > suggest several causes, such as conflicts between processes in a multicore > environment. > > Features > > * No root privilege needed > * No patch to OS > * No module to load > * No need to instrument applications > * No need to even restart applications > * Any event supported by the hardware > * some predefined: instructions, cycles, LLC misses (easy) > * any hardware supported event (slightly harder) > * Live mode and batch mode > * Configure file to define counters and screens > * Pretty much like top [1]: https://team.inria.fr/pacap/software/tiptop/ --- tiptop.be0 | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100755 tiptop.be0 diff --git a/tiptop.be0 b/tiptop.be0 new file mode 100755 index 000000000..77e3685fa --- /dev/null +++ b/tiptop.be0 @@ -0,0 +1,35 @@ +#!/usr/bin/env beesh + +# BEE_VERSION tiptop-2.3.2-0 + +SRCURL[0]="https://files.inria.fr/pacap/tiptop/tiptop-${PKGVERSION}.tar.gz" + +# PATCHURL+=() + +# build_in_sourcedir + +# sourcesubdir_append src + +#mee_extract() { +# bee_extract "${@}" +#} + +#mee_patch() { +# bee_patch "${@}" +#} + +# mee_configure() { +# bee_configure +#} + +#mee_build() { +# bee_build +#} + +#mee_install() { +# bee_install +#} + +#mee_install_post() { +# exit +#} From ed52d2a73ced8878f7bed5e4eb74b537d99fa171 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Mon, 4 Nov 2024 15:33:52 +0100 Subject: [PATCH 2/3] tiptop: Download source archive from beehive.molgen.mpg.de --- tiptop.be0 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tiptop.be0 b/tiptop.be0 index 77e3685fa..fe6e55788 100755 --- a/tiptop.be0 +++ b/tiptop.be0 @@ -2,7 +2,8 @@ # BEE_VERSION tiptop-2.3.2-0 -SRCURL[0]="https://files.inria.fr/pacap/tiptop/tiptop-${PKGVERSION}.tar.gz" +#SRCURL[0]="https://files.inria.fr/pacap/tiptop/tiptop-${PKGVERSION}.tar.gz" +SRCURL[0]="https://beehive.molgen.mpg.de/4a24ef05d8a153cb0e79666e5a20472f/tiptop-2.3.2.tar.gz" # PATCHURL+=() From 3f7b5bd3334288db93748a652d32570c286f90dd Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Tue, 5 Nov 2024 09:50:29 +0100 Subject: [PATCH 3/3] tiptop: Build in source directory /usr/bin/install -c -m 0644 tiptop.1 /dev/shm/bee-pmenzel/tiptop/tiptop-2.3.2-0/image/usr/share/man/man1 /usr/bin/install: cannot stat 'tiptop.1': No such file or directory make[1]: *** [Makefile:72: install] Error 1 make[1]: Leaving directory '/dev/shm/bee-pmenzel/tiptop/tiptop-2.3.2-0/build/src' make: *** [Makefile:31: install] Error 2 --- tiptop.be0 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiptop.be0 b/tiptop.be0 index fe6e55788..c3e9c20cf 100755 --- a/tiptop.be0 +++ b/tiptop.be0 @@ -7,7 +7,7 @@ SRCURL[0]="https://beehive.molgen.mpg.de/4a24ef05d8a153cb0e79666e5a20472f/tiptop # PATCHURL+=() -# build_in_sourcedir +build_in_sourcedir # sourcesubdir_append src