Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp1588220lqb; Sun, 26 May 2024 07:52:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUiPdWjLb3qCA0wsYyYGJBMxchID0ERnDceTAFJlTc1qbw16knEIRrPNS9mohkFq9NTdConl/5vBeGkNL4HZ3vg7fHNtTpTPTMf1ft0+Q== X-Google-Smtp-Source: AGHT+IHRMZ5n8rZhUxlUaehKG1ycX+K/l0VEXOf2dH/T/ANt3yv/Q2OfAtIemj5I4WKw1fNZebUc X-Received: by 2002:a17:90a:f406:b0:2bd:b091:bae1 with SMTP id 98e67ed59e1d1-2bf5f202bfdmr6034889a91.25.1716735149060; Sun, 26 May 2024 07:52:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716735149; cv=pass; d=google.com; s=arc-20160816; b=nhBQRD/0HnzTHndaL7mB4C067+U33UjviFH5CHfOmPPiELp0DBqDmKq+cLTurXXITX z2rxILZiDA4L61Le+5Epctir9E5LAkdOuP6ESZodxbFSmio5jRiuAWz/P//z0GRnTecD shNSU00vj/8sznt2TyOY2nn64hp3IF4QTIGo5eaLExgdEOnpaLtZdYA4Yr5v62vZMQet Q1Q+LY/7mcJBqU7/Hd13z8HvVNjOSRk4vZ10jEaaU5FamF1hV4ETrfccdxoLfRCJNd91 6+ubppSKnMEsFBsZPq0yV09iwf0a2dT5h9Oq2XpOgPzuv/2D1+G+Ydgc3MMUBtYrlFYt cu8g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=mYfZ2MBVLqoJYC7DE/5uuDkChRGYAyxpJcqdMikkns8=; fh=ySki0cCkENNq5kEjaXTLeoyqWV9eb9/TWvdL2HwqAhs=; b=OT/7ebCC/uc0t9YuEtpKaDlQ2R4WSHQdtm0/7oUy5pTY65wFGTlJrAmt7oESWffyys VJbVzt+AxjyyrF1yZdbUEgw2SiunLiUQ5fHSVHZ2E+ygwqjYVCe7eR0GuIpb3h2Y8b48 G86u33NudJLfLcCUpmcMubcbPBpw42DzXWF4FUWccUTBlOTk+rgjOD2KVFZ37h8+buB+ 2zbbM+JZ2ERmcQ/zQcP8grX2CL4kiaq3u+Zr/im6bBWjO5aM1dwsMpFYJYCvyYS0Ii6x ezy1kJ9I3rMevWSAT8vadZ8t5ZHhf3xiGxxUAbhumr6uwZpR3flrzj2I8ZZDLUsiGR8M RFxA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Idv90CoM; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-189764-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-189764-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2bf6fcc4215si4129969a91.162.2024.05.26.07.52.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 May 2024 07:52:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-189764-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Idv90CoM; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-189764-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-189764-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id A2EAA281234 for ; Sun, 26 May 2024 14:52:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2CDE7171B0; Sun, 26 May 2024 14:52:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Idv90CoM" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.13]) (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 435F415E97; Sun, 26 May 2024 14:52:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716735144; cv=none; b=aeXuHmq3I5/DattyZkPSH/dF/5FFVhING2njdZLdkVwWjXwlrcetZIiBSQTSMGqu7tnK9vGxEeJrpLFO4ZektYjjWQmjeCsfCnYScFzfkPVgRhhMbwCVy8NG2Tu38SZ0nljazUazy6kBHbYo8iyQpgm+9KPJVYuRpM5F+Z9nOmw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716735144; c=relaxed/simple; bh=D08KqfwLn6zPSed+s+WzJOGqLtwXk+mXoW/t1KDA+kA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=CQSVwdPKGbXxfaANrVoDdpjm0vuSZey5hfTXvq/t9x0wMMtROivO1yFMn8RgW6PM+E2dMAyG29JwpOpzhgBs4NxsruBrAqleAk6i1iNPBmRdOb8d/y9eIi4Ut3cB4Uugo02QkASzY7MA4F4Q5KvCClcwc/1mYyX8JRbthXifgVk= 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=Idv90CoM; arc=none smtp.client-ip=192.198.163.13 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1716735141; x=1748271141; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=D08KqfwLn6zPSed+s+WzJOGqLtwXk+mXoW/t1KDA+kA=; b=Idv90CoMCw5F7mewZGhOUuNV9SWrdqXbtm/nCoXBQGQgIDas79E9glyl RE4bzP8+MPJif06OlksuFeSiXiWJlS183hMI37anCT054wDryq4pN3Msp HDvTuph5HQIPRuY2ewQjTTw0oBlSgBVa+QBC5KB8EVOXsByVA7Aq758en fP+4s227ooLrdQdbTJSR+PNGWGTI1kjh+d0bpBuk2ot1Yc5N+kHb2bsgB AdWdhpyT1V5WQ+Mb/MAWmozfM/DHItynlFpP2rmfDREXAVIasnKhycJg+ Xzu8bQzo9n+3gqaZwDQEaLH/V0qZq4OtIL+IkE1d5+m26aMb7kjiM4yid g==; X-CSE-ConnectionGUID: ubc4Xa0SSky9A2k4oZ34uw== X-CSE-MsgGUID: xuIM2pu9T1eyXxIqu92g5g== X-IronPort-AV: E=McAfee;i="6600,9927,11084"; a="15995933" X-IronPort-AV: E=Sophos;i="6.08,190,1712646000"; d="scan'208";a="15995933" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 May 2024 07:52:20 -0700 X-CSE-ConnectionGUID: VgCDjZlCRcW1AmXR9amjaw== X-CSE-MsgGUID: 4yBunriQTZ68WmqHo/pp3A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,190,1712646000"; d="scan'208";a="38912144" Received: from unknown (HELO 0610945e7d16) ([10.239.97.151]) by fmviesa005.fm.intel.com with ESMTP; 26 May 2024 07:52:19 -0700 Received: from kbuild by 0610945e7d16 with local (Exim 4.96) (envelope-from ) id 1sBFEO-00087P-0q; Sun, 26 May 2024 14:52:16 +0000 Date: Sun, 26 May 2024 22:51:53 +0800 From: kernel test robot To: Tatsuya S , rostedt@goodmis.org, mhiramat@kernel.org, mark.rutland@arm.com, mathieu.desnoyers@efficios.com Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, Tatsuya S Subject: Re: [PATCH] ftrace: Fix stack trace entry generated by ftrace_pid_func() Message-ID: <202405262232.L4XH8q6O-lkp@intel.com> References: <20240526112658.46740-1-tatsuya.s2862@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240526112658.46740-1-tatsuya.s2862@gmail.com> Hi Tatsuya, kernel test robot noticed the following build warnings: [auto build test WARNING on linus/master] [also build test WARNING on rostedt-trace/for-next v6.9 next-20240523] [cannot apply to rostedt-trace/for-next-urgent] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Tatsuya-S/ftrace-Fix-stack-trace-entry-generated-by-ftrace_pid_func/20240526-193149 base: linus/master patch link: https://lore.kernel.org/r/20240526112658.46740-1-tatsuya.s2862%40gmail.com patch subject: [PATCH] ftrace: Fix stack trace entry generated by ftrace_pid_func() config: x86_64-buildonly-randconfig-002-20240526 (https://download.01.org/0day-ci/archive/20240526/202405262232.L4XH8q6O-lkp@intel.com/config) compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240526/202405262232.L4XH8q6O-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/202405262232.L4XH8q6O-lkp@intel.com/ All warnings (new ones prefixed by >>): >> kernel/trace/ftrace.c:102:6: warning: no previous prototype for function 'ftrace_pids_enabled' [-Wmissing-prototypes] 102 | bool ftrace_pids_enabled(struct ftrace_ops *ops) | ^ kernel/trace/ftrace.c:102:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 102 | bool ftrace_pids_enabled(struct ftrace_ops *ops) | ^ | static 1 warning generated. vim +/ftrace_pids_enabled +102 kernel/trace/ftrace.c 101 > 102 bool ftrace_pids_enabled(struct ftrace_ops *ops) 103 { 104 struct trace_array *tr; 105 106 if (!(ops->flags & FTRACE_OPS_FL_PID) || !ops->private) 107 return false; 108 109 tr = ops->private; 110 111 return tr->function_pids != NULL || tr->function_no_pids != NULL; 112 } 113 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki