Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) (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 A5A262F25 for ; Fri, 23 Sep 2022 09:55:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1663926956; x=1695462956; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=MPHqXwksq4J1qC76n9VZiNFGed5T6WrJ0pWiayAQgBA=; b=a+q9675lq+ip1CKRioDvsqh7DvTJGVMGRwQD0JDP2WWOca6ds0AZKWUy 7ClXc57KdME1igowkcg3yIjymQt+EZGxd9HmJt41IY8rbiPTDWmW3xat9 XtcKORc1Iay33KZoevVlpLFOQMVmK8dy3wPvOt4NmnAUd/9WZ1px4BF4i Y0LDPZvLWDIzFzMdQKVSQUKNIa4aFwxcYOTj+1oTbbAGypJxSxJaPv4Gc bZPIYzJ5CQX1WZW5JLUORplOjx1Ef28Jr9W/pRWOla9+ZXLLQzDZ/TDb0 YnpxT7O8Ck5hKgCCr8FgEPgOvq09Kf5Gi1hu7IYJY9u3yOiqITU8R3E6/ Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10478"; a="283654639" X-IronPort-AV: E=Sophos;i="5.93,337,1654585200"; d="scan'208";a="283654639" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Sep 2022 02:55:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,337,1654585200"; d="scan'208";a="745741798" Received: from lkp-server01.sh.intel.com (HELO c0a60f19fe7e) ([10.239.97.150]) by orsmga004.jf.intel.com with ESMTP; 23 Sep 2022 02:55:45 -0700 Received: from kbuild by c0a60f19fe7e with local (Exim 4.96) (envelope-from ) id 1obfPM-0005YO-0r; Fri, 23 Sep 2022 09:55:44 +0000 Date: Fri, 23 Sep 2022 17:55:13 +0800 From: kernel test robot To: Mathieu Desnoyers , Peter Zijlstra Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Thomas Gleixner , "Paul E . McKenney" , Boqun Feng , "H . Peter Anvin" , Paul Turner , linux-api@vger.kernel.org, Christian Brauner , Florian Weimer , David.Laight@aculab.com, carlos@redhat.com, Peter Oskolkov , Alexander Mikhalitsyn , Mathieu Desnoyers Subject: Re: [PATCH v4 25/25] tracing/rseq: Add mm_vcpu_id field to rseq_update Message-ID: <202209231723.5HqjA1Iy-lkp@intel.com> References: <20220922105941.237830-26-mathieu.desnoyers@efficios.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220922105941.237830-26-mathieu.desnoyers@efficios.com> Hi Mathieu, I love your patch! Yet something to improve: [auto build test ERROR on rostedt-trace/for-next] [cannot apply to shuah-kselftest/next tip/sched/core kees/for-next/execve linus/master v6.0-rc6 next-20220921] [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/Mathieu-Desnoyers/RSEQ-node-id-and-virtual-cpu-id-extensions/20220922-191315 base: https://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git for-next config: x86_64-randconfig-a001 (https://download.01.org/0day-ci/archive/20220923/202209231723.5HqjA1Iy-lkp@intel.com/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/1e36316a4b14e773e904e677149f9f757057fd90 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Mathieu-Desnoyers/RSEQ-node-id-and-virtual-cpu-id-extensions/20220922-191315 git checkout 1e36316a4b14e773e904e677149f9f757057fd90 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from kernel/rseq.c:19: In file included from include/trace/events/rseq.h:62: In file included from include/trace/define_trace.h:102: In file included from include/trace/trace_events.h:419: >> include/trace/events/rseq.h:26:28: error: no member named 'mm_vcpu' in 'struct task_struct' __entry->mm_vcpu_id = t->mm_vcpu; ~ ^ include/trace/stages/stage6_event_callback.h:112:33: note: expanded from macro 'TP_fast_assign' #define TP_fast_assign(args...) args ^~~~ include/trace/trace_events.h:44:16: note: expanded from macro 'TRACE_EVENT' PARAMS(assign), \ ^~~~~~ include/linux/tracepoint.h:107:25: note: expanded from macro 'PARAMS' #define PARAMS(args...) args ^~~~ include/trace/trace_events.h:402:4: note: expanded from macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ In file included from kernel/rseq.c:19: In file included from include/trace/events/rseq.h:62: In file included from include/trace/define_trace.h:103: In file included from include/trace/perf.h:113: >> include/trace/events/rseq.h:26:28: error: no member named 'mm_vcpu' in 'struct task_struct' __entry->mm_vcpu_id = t->mm_vcpu; ~ ^ include/trace/stages/stage6_event_callback.h:112:33: note: expanded from macro 'TP_fast_assign' #define TP_fast_assign(args...) args ^~~~ include/trace/trace_events.h:44:16: note: expanded from macro 'TRACE_EVENT' PARAMS(assign), \ ^~~~~~ include/linux/tracepoint.h:107:25: note: expanded from macro 'PARAMS' #define PARAMS(args...) args ^~~~ include/trace/perf.h:89:4: note: expanded from macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ 2 errors generated. vim +26 include/trace/events/rseq.h 12 13 TP_PROTO(struct task_struct *t), 14 15 TP_ARGS(t), 16 17 TP_STRUCT__entry( 18 __field(s32, cpu_id) 19 __field(s32, node_id) 20 __field(s32, mm_vcpu_id) 21 ), 22 23 TP_fast_assign( 24 __entry->cpu_id = raw_smp_processor_id(); 25 __entry->node_id = cpu_to_node(raw_smp_processor_id()); > 26 __entry->mm_vcpu_id = t->mm_vcpu; 27 ), 28 29 TP_printk("cpu_id=%d node_id=%d mm_vcpu_id=%d", __entry->cpu_id, 30 __entry->node_id, __entry->mm_vcpu_id) 31 ); 32 -- 0-DAY CI Kernel Test Service https://01.org/lkp