From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5C555274FE9 for ; Thu, 4 Dec 2025 21:54:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764885280; cv=none; b=HEsAgDWDxf0fnRlHP735zay5XS1itV90ArY/88HRPwTKrG64h1ExxsX32895Tn74hPBu6qwUZxc5CJsw5Y2SJ32IC3dsT4s8RN962FLyY1gJOJIfBCDasZbT8QYhgQfTIJw/Zl3y4qIhsAktAG7jOjfLVc2ibNth4ZHo7qlLC6w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764885280; c=relaxed/simple; bh=58kqj7+fF8LHzy28qrcI4+NudBnXtoXFbO+zcJiK7x8=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=fHE9RIMpYqbR2GBHsvlgmKktaIeBeaBxq+dmkouLjNyJnVOjnJW/xPlXGKZTnNEK5S7XxNTwsUM8q7mR/Wz4qo07PCXyFyh5va3IdDJnhfiZUAQpqhwayLSTo0og64wz3SxP5zGf/CG+Map+Q6ToC5GuGCm8e5nVkNcYaspRoXk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=CX68EWgU; arc=none smtp.client-ip=192.198.163.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="CX68EWgU" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1764885278; x=1796421278; h=date:from:to:cc:subject:message-id:mime-version; bh=58kqj7+fF8LHzy28qrcI4+NudBnXtoXFbO+zcJiK7x8=; b=CX68EWgUqGi+NvDxKeCy/5QJMCsI6Be8V0bV2xqlSTzvkdx0AXa4+z7y d6GXkxNs5nho9xjv3Z8AO78KbcYWP1VpNYTTO+6TfNCnsCBxmjD79Lbmu nBz3FcVF4ceqxYeOOfKmxZMBcEONBt4TfOgQAye4CJK/IJ1m7z22HWygS /s2RL2QWLsynk6763TQ9cdWafleOW7xWOSlHNSPYsN4uYCakWqxxh2Z5t XTvpZevMpxvhziuNyYEMdhn05Hq3KyqzE72QXNxgrv/jdPReRZ78YMK21 rtRRO+lITh/Qugwtk6oU7ttagSDB2xK2d2NHdJ2ea5czJf9N2tebrGYuO Q==; X-CSE-ConnectionGUID: 6a+sH5BtRqKukimNM5s44g== X-CSE-MsgGUID: tOZx+c2+SVSUWd9b2t63vw== X-IronPort-AV: E=McAfee;i="6800,10657,11632"; a="54467170" X-IronPort-AV: E=Sophos;i="6.20,250,1758610800"; d="scan'208";a="54467170" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by fmvoesa110.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Dec 2025 13:54:38 -0800 X-CSE-ConnectionGUID: lQisO1plRgG5rznboshbYQ== X-CSE-MsgGUID: QR96z4UWQR6t+dqvRMlSQg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.20,250,1758610800"; d="scan'208";a="218458821" Received: from lkp-server01.sh.intel.com (HELO 4664bbef4914) ([10.239.97.150]) by fmviesa002.fm.intel.com with ESMTP; 04 Dec 2025 13:54:36 -0800 Received: from kbuild by 4664bbef4914 with local (Exim 4.98.2) (envelope-from ) id 1vRHHW-00000000EHN-1k4f; Thu, 04 Dec 2025 21:54:34 +0000 Date: Fri, 5 Dec 2025 05:54:25 +0800 From: kernel test robot To: cros-kernel-buildreports@googlegroups.com Cc: oe-kbuild-all@lists.linux.dev Subject: [android-common:android17-6.18 0/5] kernel/trace/power-traces.c:20:1: error: use of undeclared identifier '__tracepoint_device_pm_callback_start' Message-ID: <202512050528.xyfBhmAV-lkp@intel.com> Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Carlos, FYI, the error/warning still remains. tree: https://android.googlesource.com/kernel/common android17-6.18 head: f0e39411b4d330805aba371a8c2218550d01fb9d commit: 380603d5f29a2265cb058a9ce5f2171f096ccca1 [0/5] Merge 2be6a7503d32 ("Merge tag 'trace-unused-v6.17' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace") into android-mainline config: x86_64-randconfig-103-20251204 (https://download.01.org/0day-ci/archive/20251205/202512050528.xyfBhmAV-lkp@intel.com/config) compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251205/202512050528.xyfBhmAV-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202512050528.xyfBhmAV-lkp@intel.com/ All errors (new ones prefixed by >>): >> kernel/trace/power-traces.c:20:1: error: use of undeclared identifier '__tracepoint_device_pm_callback_start' 20 | EXPORT_TRACEPOINT_SYMBOL_GPL(device_pm_callback_start); | ^ include/linux/tracepoint.h:374:20: note: expanded from macro 'EXPORT_TRACEPOINT_SYMBOL_GPL' 374 | EXPORT_SYMBOL_GPL(__tracepoint_##name); \ | ^ :39:1: note: expanded from here 39 | __tracepoint_device_pm_callback_start | ^ >> kernel/trace/power-traces.c:20:1: error: use of undeclared identifier '__traceiter_device_pm_callback_start' include/linux/tracepoint.h:375:20: note: expanded from macro 'EXPORT_TRACEPOINT_SYMBOL_GPL' 375 | EXPORT_SYMBOL_GPL(__traceiter_##name); \ | ^ :46:1: note: expanded from here 46 | __traceiter_device_pm_callback_start | ^ >> kernel/trace/power-traces.c:20:1: error: use of undeclared identifier '__SCK__tp_func_device_pm_callback_start' include/linux/tracepoint.h:376:2: note: expanded from macro 'EXPORT_TRACEPOINT_SYMBOL_GPL' 376 | EXPORT_STATIC_CALL_GPL(tp_func_##name) | ^ include/linux/static_call.h:217:20: note: expanded from macro 'EXPORT_STATIC_CALL_GPL' 217 | EXPORT_SYMBOL_GPL(STATIC_CALL_KEY(name)); \ | ^ include/linux/static_call_types.h:12:32: note: expanded from macro 'STATIC_CALL_KEY' 12 | #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) | ^ include/linux/compiler_types.h:84:22: note: expanded from macro '__PASTE' 84 | #define __PASTE(a,b) ___PASTE(a,b) | ^ include/linux/compiler_types.h:83:23: note: expanded from macro '___PASTE' 83 | #define ___PASTE(a,b) a##b | ^ :54:1: note: expanded from here 54 | __SCK__tp_func_device_pm_callback_start | ^ >> kernel/trace/power-traces.c:20:1: error: use of undeclared identifier '__SCT__tp_func_device_pm_callback_start' include/linux/tracepoint.h:376:2: note: expanded from macro 'EXPORT_TRACEPOINT_SYMBOL_GPL' 376 | EXPORT_STATIC_CALL_GPL(tp_func_##name) | ^ include/linux/static_call.h:218:20: note: expanded from macro 'EXPORT_STATIC_CALL_GPL' 218 | EXPORT_SYMBOL_GPL(STATIC_CALL_TRAMP(name)) | ^ include/linux/static_call_types.h:18:34: note: expanded from macro 'STATIC_CALL_TRAMP' 18 | #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) | ^ include/linux/compiler_types.h:84:22: note: expanded from macro '__PASTE' 84 | #define __PASTE(a,b) ___PASTE(a,b) | ^ include/linux/compiler_types.h:83:23: note: expanded from macro '___PASTE' 83 | #define ___PASTE(a,b) a##b | ^ :61:1: note: expanded from here 61 | __SCT__tp_func_device_pm_callback_start | ^ >> kernel/trace/power-traces.c:21:1: error: use of undeclared identifier '__tracepoint_device_pm_callback_end' 21 | EXPORT_TRACEPOINT_SYMBOL_GPL(device_pm_callback_end); | ^ include/linux/tracepoint.h:374:20: note: expanded from macro 'EXPORT_TRACEPOINT_SYMBOL_GPL' 374 | EXPORT_SYMBOL_GPL(__tracepoint_##name); \ | ^ :4:1: note: expanded from here 4 | __tracepoint_device_pm_callback_end | ^ >> kernel/trace/power-traces.c:21:1: error: use of undeclared identifier '__traceiter_device_pm_callback_end' include/linux/tracepoint.h:375:20: note: expanded from macro 'EXPORT_TRACEPOINT_SYMBOL_GPL' 375 | EXPORT_SYMBOL_GPL(__traceiter_##name); \ | ^ :11:1: note: expanded from here 11 | __traceiter_device_pm_callback_end | ^ >> kernel/trace/power-traces.c:21:1: error: use of undeclared identifier '__SCK__tp_func_device_pm_callback_end' include/linux/tracepoint.h:376:2: note: expanded from macro 'EXPORT_TRACEPOINT_SYMBOL_GPL' 376 | EXPORT_STATIC_CALL_GPL(tp_func_##name) | ^ include/linux/static_call.h:217:20: note: expanded from macro 'EXPORT_STATIC_CALL_GPL' 217 | EXPORT_SYMBOL_GPL(STATIC_CALL_KEY(name)); \ | ^ include/linux/static_call_types.h:12:32: note: expanded from macro 'STATIC_CALL_KEY' 12 | #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) | ^ include/linux/compiler_types.h:84:22: note: expanded from macro '__PASTE' 84 | #define __PASTE(a,b) ___PASTE(a,b) | ^ include/linux/compiler_types.h:83:23: note: expanded from macro '___PASTE' 83 | #define ___PASTE(a,b) a##b | ^ :19:1: note: expanded from here 19 | __SCK__tp_func_device_pm_callback_end | ^ >> kernel/trace/power-traces.c:21:1: error: use of undeclared identifier '__SCT__tp_func_device_pm_callback_end' include/linux/tracepoint.h:376:2: note: expanded from macro 'EXPORT_TRACEPOINT_SYMBOL_GPL' 376 | EXPORT_STATIC_CALL_GPL(tp_func_##name) | ^ include/linux/static_call.h:218:20: note: expanded from macro 'EXPORT_STATIC_CALL_GPL' 218 | EXPORT_SYMBOL_GPL(STATIC_CALL_TRAMP(name)) | ^ include/linux/static_call_types.h:18:34: note: expanded from macro 'STATIC_CALL_TRAMP' 18 | #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) | ^ include/linux/compiler_types.h:84:22: note: expanded from macro '__PASTE' 84 | #define __PASTE(a,b) ___PASTE(a,b) | ^ include/linux/compiler_types.h:83:23: note: expanded from macro '___PASTE' 83 | #define ___PASTE(a,b) a##b | ^ :26:1: note: expanded from here 26 | __SCT__tp_func_device_pm_callback_end | ^ 8 errors generated. vim +/__tracepoint_device_pm_callback_start +20 kernel/trace/power-traces.c 6161352142d5fe Arjan van de Ven 2009-09-17 16 c9257f78b4f785 Todd E Brandt 2014-12-12 17 EXPORT_TRACEPOINT_SYMBOL_GPL(suspend_resume); 25e41933b58777 Thomas Renninger 2011-01-03 18 EXPORT_TRACEPOINT_SYMBOL_GPL(cpu_idle); 9bdcb44e391da5 Rafael J. Wysocki 2016-04-02 19 EXPORT_TRACEPOINT_SYMBOL_GPL(cpu_frequency); c1e2c674005c75 Changki Kim 2020-07-02 @20 EXPORT_TRACEPOINT_SYMBOL_GPL(device_pm_callback_start); c1e2c674005c75 Changki Kim 2020-07-02 @21 EXPORT_TRACEPOINT_SYMBOL_GPL(device_pm_callback_end); :::::: The code at line 20 was first introduced by commit :::::: c1e2c674005c758817710ba1714d35185f6fa8b6 ANDROID: PM: sleep: export device_pm_callback_start/end trace event :::::: TO: Changki Kim :::::: CC: Jonglin Lee -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki