Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp604571lqh; Fri, 31 May 2024 10:29:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV3kmi0i4RQFt5A4PtXtSCCqrN9NaFs6ZG0ak1K8lLm5iz3OUUXTMtT3y5x0AP60myoQ6RwHLvSVv5f0oBG4cH8uiszzjCfdaV9hQNs3w== X-Google-Smtp-Source: AGHT+IETln/zMQEAUS89hMG5yBEBzMll6R0wZd+sXh5zme23Ozk08Xa3lV0w/8QsYmQAozAp/k5n X-Received: by 2002:a05:6a20:2444:b0:1af:ccfd:529d with SMTP id adf61e73a8af0-1b26f164272mr3038586637.27.1717176575731; Fri, 31 May 2024 10:29:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717176575; cv=pass; d=google.com; s=arc-20160816; b=u56x3IFrqh84nFAgFfcXj4Zh2xoycIZSHO3TJP9zCRkSzpfCIvDVQg0h+apLExktLe 8a08pMdUITY6zSwhqLvb0tmrZW8KECmRoZgcbRejDHwY4JRSHTRElAgQQruE78NFRDna lacRuqYzGEP+likQQJdqf1jMyPz2NA72sy1KqUVcebijdFuISBLPNjXkfT4FMYEDtp7p xC11jFbavGfMmLI4XrbgrSUAPQVndFlYD7fNvIiWAamDUJt9yydRy1O16g4RdyGD5fIE 3V4RNCi9iZ+2nayI/XWWKofg5Sh+rPbKPGKgLTCj875MHH6kt77JipGKDli7v8ipJoWk acaQ== 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=pVbR5icK/ezN+9nv0MNAcIXzZ3T0PknvWcS1ZD6AOKI=; fh=Sc39R7rFS8Sh51z//UowQF6f61BfpmEzAeULl4d3mSU=; b=iYhr+uKgQkRL8xmrmqpZjQvJxpS2tjp0fMJCwRowfmCyaZ782Dul80AOU1xlMKeUiN XkxhreUSvS/Gj2Z6vaB9XVTy53TJoREEFaXP1nlpqTPexO2mhj9viqEo+HG9UaUTFF3s AWbYVqMgFyKE7Eo3aKGTiNT2o/P7SnUxdEVUEqOwMpjMK8oL56NyFnzpJdUBF85E4hYJ IvX4aGRuPYNA8th5elSCEFf3OWwdGq/lSNSSlfxESClGCdWeZWORnNAmK6akrQ5+b1Bb 3Fgw3jy2OmrH+wjd9tB7fGbfzNvxjIUK9TMgn3SGwtR4pUMJS/lzccATrjJKUNczLcRm mS/Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=faGKBjHC; 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-197212-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197212-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d2e1a72fcca58-70242e662e1si1823984b3a.397.2024.05.31.10.29.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 10:29:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-197212-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=faGKBjHC; 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-197212-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197212-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 5F1F3B21D1D for ; Fri, 31 May 2024 17:01:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3933716F282; Fri, 31 May 2024 17:01:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="faGKBjHC" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) (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 67B9316D304; Fri, 31 May 2024 17:01:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717174894; cv=none; b=WFFmRKwqO6vpp0ZnaAfyqHrBYg7dqPEtxcL307f0DflW5TPKgsRRphdCBttOjmfcRfAej4Bnsu1bxpxgBHnXQsfiRdM4xzz7dPwuKeU6B6gLfua4OYSIt/9CmwuA9jOn0HPhx2qSqrvsFIiDzpWiegaRY71uTfNGV0JrNkObLGY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717174894; c=relaxed/simple; bh=Yjqo3hlhlx9yKevXhDT1MNENp9AFIIad+z8zrRdLuUs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ZmHNnTs8yfM63sRsdAiqby4yW0MxfVjWNDHk68XfBUt9mqPQNhndAp1uqzoJzf1KS+XFzyHSL7vyYHuPkCEz7bbJZFyBXZ+C7EfTXjkNZ9OGGcGGtAmiQsIdzDGLRy+Zt+kJzkwhP9QT7r4zIs09TlhNJqOOsXRUD4oW6wN/Vek= 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=faGKBjHC; arc=none smtp.client-ip=198.175.65.10 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=1717174891; x=1748710891; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Yjqo3hlhlx9yKevXhDT1MNENp9AFIIad+z8zrRdLuUs=; b=faGKBjHCipfYarK+ZtyukSvXvuDJ9nLLhH83jsdCuoPRrcXL4V7i0QDX KcQiwrp5uQyql6B0usuSccvDUAwWVCaBBp+8kNBzoa9HAFcAxmoNAT5XN +JJGQ08xnXTI2qFu4Y+uQ2Dg+as0/V0lfE6kIw/WdvPsxQJ6rXNmLtSKd lYbjN+ROiJ22MB5zzstaDoLd8qphUrMi1tg32HsiKJIfFUK6bWka5ByAN k2l/e+gl0Q63f2JqkE95EbNRxROzWFI3D9T3NYSGA84FCyKETVbdv6/9C 51n3RUX6zDAQGEmL6uDNqv40pUeHcMr6GEO37OxGqQ50jZpGdD2MqFNcj w==; X-CSE-ConnectionGUID: RDNgaDEyT9i9nmGA53wnEA== X-CSE-MsgGUID: BdTQM0E6Sdu81V7bxIsj+A== X-IronPort-AV: E=McAfee;i="6600,9927,11089"; a="31223123" X-IronPort-AV: E=Sophos;i="6.08,204,1712646000"; d="scan'208";a="31223123" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 May 2024 10:01:31 -0700 X-CSE-ConnectionGUID: kwv4Ne6VSaWer/Fbg//lww== X-CSE-MsgGUID: UWrQa+u+SWK1A29eqgaOlw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,204,1712646000"; d="scan'208";a="36800309" Received: from unknown (HELO 0610945e7d16) ([10.239.97.151]) by orviesa008.jf.intel.com with ESMTP; 31 May 2024 10:01:29 -0700 Received: from kbuild by 0610945e7d16 with local (Exim 4.96) (envelope-from ) id 1sD5d8-000HUA-1N; Fri, 31 May 2024 17:01:26 +0000 Date: Sat, 1 Jun 2024 01:01:26 +0800 From: kernel test robot To: "Masami Hiramatsu (Google)" , Steven Rostedt Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, don , linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, mhiramat@kernel.org Subject: Re: [PATCH] tracing/fprobe: Support raw tracepoint events on modules Message-ID: <202406010034.fsNP9Rsq-lkp@intel.com> References: <171714888633.198965.13093663631481169611.stgit@devnote2> 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: <171714888633.198965.13093663631481169611.stgit@devnote2> Hi Masami, kernel test robot noticed the following build errors: [auto build test ERROR on linus/master] [also build test ERROR on v6.10-rc1 next-20240531] [cannot apply to rostedt-trace/for-next 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/Masami-Hiramatsu-Google/tracing-fprobe-Support-raw-tracepoint-events-on-modules/20240531-175013 base: linus/master patch link: https://lore.kernel.org/r/171714888633.198965.13093663631481169611.stgit%40devnote2 patch subject: [PATCH] tracing/fprobe: Support raw tracepoint events on modules config: s390-defconfig (https://download.01.org/0day-ci/archive/20240601/202406010034.fsNP9Rsq-lkp@intel.com/config) compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project bafda89a0944d947fc4b3b5663185e07a397ac30) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240601/202406010034.fsNP9Rsq-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/202406010034.fsNP9Rsq-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from kernel/tracepoint.c:5: In file included from include/linux/module.h:19: In file included from include/linux/elf.h:6: In file included from arch/s390/include/asm/elf.h:173: In file included from arch/s390/include/asm/mmu_context.h:11: In file included from arch/s390/include/asm/pgalloc.h:18: In file included from include/linux/mm.h:2253: include/linux/vmstat.h:500:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 500 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 501 | item]; | ~~~~ include/linux/vmstat.h:507:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 507 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 508 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ include/linux/vmstat.h:514:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 514 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ include/linux/vmstat.h:519:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 519 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 520 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ include/linux/vmstat.h:528:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 528 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 529 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ >> kernel/tracepoint.c:751:34: error: no member named '__start___tracepoints_ptrs' in 'struct module' 751 | for_each_tracepoint_range(mod->__start___tracepoints_ptrs, | ~~~ ^ 5 warnings and 1 error generated. vim +751 kernel/tracepoint.c 738 739 void for_each_module_tracepoint(void (*fct)(struct tracepoint *tp, void *priv), 740 void *priv) 741 { 742 struct tp_module *tp_mod; 743 struct module *mod; 744 745 if (!mod->num_tracepoints) 746 return; 747 748 mutex_lock(&tracepoint_module_list_mutex); 749 list_for_each_entry(tp_mod, &tracepoint_module_list, list) { 750 mod = tp_mod->mod; > 751 for_each_tracepoint_range(mod->__start___tracepoints_ptrs, 752 mod->tracepoints_ptrs + mod->num_tracepoints, 753 fct, priv); 754 } 755 mutex_unlock(&tracepoint_module_list_mutex); 756 } 757 #endif /* CONFIG_MODULES */ 758 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki