mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-03 14:34:27 -05:00 
			
		
		
		
	ChangeLog: 46952ef trace-cmd: Version 3.2 f5871a1 libtracecmd: Version 1.4.0 d498af1 trace-cmd build: Add trace-attach.c to meson build 736df06 trace-cmd: Add initial support for meson e183566 libtracecmd: Add initial support for meson c508713 trace-cmd test: Quiet valgrind from reporting forked children 8ec026f trace-cmd test: Close handle after opening 4c179a6 trace-cmd library: Fix memory leaks of followers aa21520 trace-cmd: Add Makefile target for memory test 925e15f trace-cmd and library: Update the version to the development 4fa31c0 trace-cmd attach: Add new command "attach" 7e721ef trace-cmd library: Add tracecmd_get_tsc2nsec() API 8908555 tracecmd library: Unlock records in tracecmd_iterate_events() 2668b13 trace-cmd agent: Add "IP" to -N argument in help message 22ad81e trace-cmd record: Remove redundant check of instance in allocate_instance() d7ce897 libtracecmd: Free buf_from in error path of tracecmd_compress_copy_from() 6776d7a trace-cmd: Update v7 trace.dat documentation to clarify the strings section 9d6f3ba trace-cmd record/extract: Do not destroy existing instances 9c9d5ed trace-cmd extract: Do not extract top level unless told to 4b92132 libtracecmd: Fix tracecmd_compress_copy_from() write size return f30abfd documentation: trace-cmd-report: Document filter scope 7a390c5 trace-cmd-report: Support global filters 04ad2c6 trace-cmd report: Ensure filter is applied to single input file edf9424 trace-cmd: Open code execvp routine to avoid multiple execve syscalls Signed-off-by: Nick Hainke <vincent@systemli.org>
		
			
				
	
	
		
			49 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			49 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Makefile
		
	
	
	
	
	
include $(TOPDIR)/rules.mk
 | 
						|
 | 
						|
PKG_NAME:=trace-cmd
 | 
						|
PKG_VERSION:=v3.2
 | 
						|
PKG_RELEASE:=1
 | 
						|
 | 
						|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 | 
						|
PKG_SOURCE_URL:=https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/snapshot/
 | 
						|
PKG_HASH:=62af2c6062eeb434925921bb5936774b0a0e17a5f86671fa2ea2f40704a080cd
 | 
						|
 | 
						|
PKG_LICENSE:=GPL-2.0-only
 | 
						|
PKG_LICENSE_FILES:=COPYING
 | 
						|
 | 
						|
PKG_INSTALL:=1
 | 
						|
PKG_BUILD_FLAGS:=no-mips16
 | 
						|
PKG_BUILD_PARALLEL:=1
 | 
						|
 | 
						|
include $(INCLUDE_DIR)/package.mk
 | 
						|
 | 
						|
define Package/trace-cmd
 | 
						|
  SECTION:=devel
 | 
						|
  CATEGORY:=Development
 | 
						|
  TITLE:=Linux trace command line utility
 | 
						|
  DEPENDS:=+libtracefs +zlib
 | 
						|
endef
 | 
						|
 | 
						|
define Package/trace-cmd-extra
 | 
						|
  SECTION:=devel
 | 
						|
  CATEGORY:=Development
 | 
						|
  TITLE:=Extra plugins for trace-cmd
 | 
						|
  DEPENDS:=+libtraceevent-extra
 | 
						|
endef
 | 
						|
 | 
						|
MAKE_FLAGS += \
 | 
						|
	NO_PYTHON=1 \
 | 
						|
	NO_AUDIT=1 \
 | 
						|
	NO_LIBZSTD=1 \
 | 
						|
	prefix=/usr
 | 
						|
 | 
						|
TARGET_CFLAGS += --std=gnu99 -D_GNU_SOURCE
 | 
						|
 | 
						|
define Package/trace-cmd/install
 | 
						|
	$(INSTALL_DIR) $(1)/usr/bin $(1)/usr/lib/traceevent/plugins
 | 
						|
	$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/trace-cmd $(1)/usr/bin/
 | 
						|
endef
 | 
						|
 | 
						|
$(eval $(call BuildPackage,trace-cmd))
 | 
						|
$(eval $(call BuildPackage,trace-cmd-extra))
 |