Server : nginx/1.24.0 System : Linux ip-172-31-33-48 6.14.0-1011-aws #11~24.04.1-Ubuntu SMP Fri Aug 1 02:07:25 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE Directory : /usr/src/linux-headers-6.14.0-1011-aws/tools/tracing/latency/ |
Upload File : |
# SPDX-License-Identifier: GPL-2.0-only STOP_ERROR := define lib_setup $(eval LIB_INCLUDES += $(shell sh -c "$(PKG_CONFIG) --cflags lib$(1)")) $(eval LDFLAGS += $(shell sh -c "$(PKG_CONFIG) --libs-only-L lib$(1)")) $(eval EXTLIBS += $(shell sh -c "$(PKG_CONFIG) --libs-only-l lib$(1)")) endef $(call feature_check,libtraceevent) ifeq ($(feature-libtraceevent), 1) $(call detected,CONFIG_LIBTRACEEVENT) $(call lib_setup,traceevent) else STOP_ERROR := 1 $(info libtraceevent is missing. Please install libtraceevent-dev/libtraceevent-devel) endif $(call feature_check,libtracefs) ifeq ($(feature-libtracefs), 1) $(call detected,CONFIG_LIBTRACEFS) $(call lib_setup,tracefs) else STOP_ERROR := 1 $(info libtracefs is missing. Please install libtracefs-dev/libtracefs-devel) endif ifeq ($(STOP_ERROR),1) $(error Please, check the errors above.) endif