Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
package: add bustle dbus monitor package
Only builds the capture tool, not the (host) graphical viewer. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
- Loading branch information
Showing
3 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,22 @@ | |||
config BR2_PACKAGE_BUSTLE | |||
bool "bustle" | |||
select BR2_PACKAGE_LIBPCAP | |||
select BR2_PACKAGE_LIBGLIB2 | |||
depends on BR2_USE_WCHAR # libglib2 | |||
depends on BR2_PACKAGE_DBUS # runtime | |||
help | |||
Bustle is a better dbus-monitor! It records and draws | |||
sequence diagrams of D-Bus activity, showing signal | |||
emissions, method calls and their corresponding returns, | |||
with timestamps for each individual event and the duration | |||
of each method call. This can help you check for unwanted | |||
D-Bus traffic, and pinpoint why your D-Bus-based application | |||
isn't performing as well as you like. | |||
|
|||
This only installs the command line bustle-pcap tool, not | |||
the graphical viewer. | |||
|
|||
http://www.willthompson.co.uk/bustle/ | |||
|
|||
comment "bustle requires a toolchain with WCHAR support" | |||
depends on !BR2_USE_WCHAR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,23 @@ | |||
############################################################# | |||
# | |||
# bustle | |||
# | |||
############################################################# | |||
|
|||
BUSTLE_VERSION = 0.4.2 | |||
BUSTLE_SITE = http://www.willthompson.co.uk/bustle/releases/$(BUSTLE_VERSION)/ | |||
BUSTLE_LICENSE = LGPLv2.1+ | |||
BUSTLE_LICENSE_FILES = LICENSE | |||
BUSTLE_DEPENDENCIES = libglib2 libpcap host-pkgconf | |||
|
|||
define BUSTLE_BUILD_CMDS | |||
PATH=$(TARGET_PATH) $(MAKE) $(TARGET_CONFIGURE_OPTS) \ | |||
PCAP_FLAGS='-lpcap' -C $(@D) dist/build/bustle-pcap | |||
endef | |||
|
|||
define BUSTLE_INSTALL_TARGET_CMDS | |||
$(INSTALL) -m 0755 -D $(@D)/dist/build/bustle-pcap \ | |||
$(TARGET_DIR)/usr/bin/bustle-pcap | |||
endef | |||
|
|||
$(eval $(generic-package)) |