From 3088122c233bb432a874d3d078b21f7730993dcd Mon Sep 17 00:00:00 2001 From: liangbotong <2285836142@qq.com> Date: Mon, 16 Jan 2023 10:59:19 +0800 Subject: [PATCH] =?UTF-8?q?NEWIP=5FHOOKS=E8=87=AA=E5=8A=A8=E4=BD=BF?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: liangbotong --- src/linux/net/newip/Kconfig | 10 +++++++--- src/linux/net/newip/hooks/Kconfig | 13 ------------- 2 files changed, 7 insertions(+), 16 deletions(-) delete mode 100644 src/linux/net/newip/hooks/Kconfig diff --git a/src/linux/net/newip/Kconfig b/src/linux/net/newip/Kconfig index eb27184..603a420 100644 --- a/src/linux/net/newip/Kconfig +++ b/src/linux/net/newip/Kconfig @@ -2,9 +2,6 @@ # Copyright (c) 2022 Huawei Device Co., Ltd. # -# net/newip/hooks/Kconfig -source "net/newip/hooks/Kconfig" - # net/newip/Kconfig config NEWIP def_bool $(success,$(srctree)/scripts/ohos-check-dir.sh $(srctree)/net/newip) @@ -18,3 +15,10 @@ config NEWIP_FAST_KEEPALIVE depends on NEWIP help Support for NewIP fast keepalive. + +config NEWIP_HOOKS + def_bool NEWIP && VENDOR_HOOKS + help + Enable NewIP hooks implemented as tracepoints + Allow NewIP modules to attach to tracepoint "hooks" defined via + DECLARE_TRACE or DECLARE_HOOK \ No newline at end of file diff --git a/src/linux/net/newip/hooks/Kconfig b/src/linux/net/newip/hooks/Kconfig deleted file mode 100644 index 9439f88..0000000 --- a/src/linux/net/newip/hooks/Kconfig +++ /dev/null @@ -1,13 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 -# Copyright (c) 2022 Huawei Device Co., Ltd. -# - -config NEWIP_HOOKS - bool "NEWIP HOOKS" - default n - depends on VENDOR_HOOKS && NEWIP - help - Enable NewIP hooks implemented as tracepoints - Allow NewIP modules to attach to tracepoint "hooks" defined via - DECLARE_TRACE or DECLARE_HOOK - -- Gitee