New Package: latencytop
PATCH 1/1 New Package: latencytop
Signed-off-by Qais Yousef <[email protected]>
--- package/Config.in | 1 + package/latencytop/Config.in | 15 ++++++++ package/latencytop/latencytop-makefile.patch | 46 ++++++++++++++++++++++++++ package/latencytop/latencytop.mk | 22 ++++++++++++ 4 files changed, 84 insertions(+), 0 deletions(-) create mode 100644 package/latencytop/Config.in create mode 100644 package/latencytop/latencytop-makefile.patch create mode 100644 package/latencytop/latencytop.mk
package/Config.in +1 -0
@@ -37,6 +37,7 @@ source "package/strace/Config.in" source "package/whetstone/Config.in" source "package/valgrind/Config.in" source "package/pv/Config.in" +source "package/latencytop/Config.in" endmenu menu "Development tools"
package/latencytop/Config.in new file +15 -0
@@ -0,0 +1,15 @@ +config BR2_PACKAGE_LATENCYTOP + bool "latencytop" + help + There are many types and causes of latency. LatencyTOP + focuses on the type of latency that causes skips in audio, + stutters in your desktop experience or that overloads your + server (while you have plenty of CPU power left). + + LatencyTOP focuses on the cases where the applications want + to run and execute useful code, but there's some resource + that's not currently available (and the kernel then blocks + the process). This is done both on a system level and on a + per process level, so that you can see what's happening to + the system, and which process is suffering and/or causing + the delays.
package/latencytop/latencytop-makefile.patch new file +46 -0
46 lines not on this page · raw message
package/latencytop/latencytop.mk new file +22 -0
@@ -0,0 +1,22 @@ +############################################################# +# +# latencytop +# +############################################################# + +LATENCYTOP_VERSION = 0.5 +LATENCYTOP_SITE = http://www.latencytop.org/download/ +LATENCYTOP_DEPENDENCIES = libglib2 ncurses + +# NOTE: GTK is heavy weight, we intentionally build the text (ncurses) +# version only +define LATENCYTOP_BUILD_CMDS + $(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_LD)" \ + PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" HAS_GTK_GUI=0 -C $(@D) +endef + +define LATENCYTOP_INSTALL_TARGET_CMDS + $(MAKE) install -C $(@D) DESTDIR=$(TARGET_DIR) +endef + +$(eval $(call GENTARGETS))
Signature · 1 line
1.7.1
PATCH 1/1 New Package: latencytop
Hi Qais,
Quoted 3 lines · Qais Yousef
Signed-off-by Qais Yousef <[email protected]>---
[snip]
Quoted 12 lines
package/latencytop/latencytop.mk new file +5
-0@@ -0,0 +1,22 @@ +############################################################# +# +# latencytop +# +#############################################################
package/latencytop/latencytop.mk line 15
Quoted 10 lines
package/latencytop/latencytop.mk new file +10
-0+ +LATENCYTOP_VERSION = 0.5 +LATENCYTOP_SITE = http://www.latencytop.org/download/ +LATENCYTOP_DEPENDENCIES = libglib2 ncurses + +# NOTE: GTK is heavy weight, we intentionally build the text (ncurses) +# version only +define LATENCYTOP_BUILD_CMDS + $(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_LD)" \ + PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" HAS_GTK_GUI=0 -C $(@D)
You can use $(TARGET_CONFIGURE_OPTS), which includes CC, LD, and PKG_CONFIG.
baruch
Quoted 9 lines
package/latencytop/latencytop.mk new file +7
-0+endef + +define LATENCYTOP_INSTALL_TARGET_CMDS + $(MAKE) install -C $(@D) DESTDIR=$(TARGET_DIR) +endef + +$(eval $(call GENTARGETS))Signature · 1 line
1.7.1
Signature · 3 lines
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -PATCH 1/1 New Package: latencytop
Quoted 11 lines
Review
Quoted 4 lines
(quoted diff) +4
-0+# NOTE: GTK is heavy weight, we intentionally build the text +(ncurses) # version only define LATENCYTOP_BUILD_CMDS + $(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_LD)" \ + PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)"HAS_GTK_GUI=0 -C $(@D)
You can use $(TARGET_CONFIGURE_OPTS), which includes CC, LD, and
PKG_CONFIG.baruch
Thanks for the tip. I'll update and repost.
Qais