Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp999773rdf; Sat, 4 Nov 2023 03:00:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHx5sZ7GiLtHtZIiqBnoj/sznP3ED3CHJPNvG+7xjMUex+Crf6X32SvuKbHAVSbWRM9AESY X-Received: by 2002:a05:6a20:6a0d:b0:160:a752:59e with SMTP id p13-20020a056a206a0d00b00160a752059emr28003106pzk.40.1699092009668; Sat, 04 Nov 2023 03:00:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1699092009; cv=none; d=google.com; s=arc-20160816; b=ZFZQf6oRqEHuJsm0pPzr+c+oUbdUpzcUclWz54FU0plLBj+WRsCE83gwnkc8DpB4uK BpUGVvxK29ZN0uonwqN0KrOjMs2Hzj/A2GxCJtd5iIjnps7HTI8kwwk6AI3rGht1TaMu JSrTfizjm73IvBpJWtabxR3++y+Vkb/QEpGWxDm5Wje9001LOt8VjQksp8wSyH0Asx0W jJeGUFjgz4QrWzl5ouZcOBMFZYUXZWrD8JXPN7Av1Ol1Ko1mKGfj4P+2Np6Xiy4cK2G7 Xy0MiOwaEuHAGAUDK4UtYIOlWfSlq3kOKtuHKeNYS+ec/UqqfJyGoW3SMADeqHxgx177 xglw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=6wDg5feW7se3XF2iUqg9SRSlieR3MvtmvykbSJzLjZ0=; fh=R6WsCK/C8ATjDoCszbtCOz7aX9jiAkC5qTqTxFDzkAw=; b=lRnHvdoUdq5Mj28ATHt5t9KXaezdtOVzWUJWi64W8wcVw8CS76neLZ/7n2vno71dCZ 20zUFcFVFsA5/0lTPR74DitWVfHtbXDOxPpMqkER7QpLJnctSDoowwVzg4BuytWLgIiP gAnMtTV+5TloAEerwxk0DCmDH0tTygeuFAbN0KHRgWT9fd/hzyVy2B+HSK1kr7uJeUn8 1cwZvHDz+FT3Mjs/I8h8OikzgPxRMDeaE7Mjj3KBUsCW+x8ipFGXFSwzvVZ3pA+I65my rgV6XWKzfDQQHEDiiBbcE/umlyenaeKwAb0memtP/yWgA0IvEKPXbwLMQVfIbcduRO5x g64Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Vsi8BL7b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id iw14-20020a170903044e00b001c572ccd45bsi3422634plb.391.2023.11.04.03.00.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Nov 2023 03:00:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Vsi8BL7b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id B8DE38135622; Sat, 4 Nov 2023 03:00:01 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230477AbjKDJ7v (ORCPT + 99 others); Sat, 4 Nov 2023 05:59:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229468AbjKDJ7u (ORCPT ); Sat, 4 Nov 2023 05:59:50 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5EC95187; Sat, 4 Nov 2023 02:59:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1699091986; x=1730627986; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=ep0wRUVkQjdLJreVf1X33Iq1ksvwxePZG4dEsHAvysc=; b=Vsi8BL7bqIG5g1PkOlTWXa+I4yzUsAePho26dfejdPo4Vp5JAXSU7+Oj NJGkEeAWbDXkDrPMWXrJJ0asRcml8jy7XoQFeV2CwhV2fLf0uIWfLSi+e np5CdLIwDR0+GQvRA6K+bxVp4KwQx0ij6cIZ7i429oVXzacLsfbfPiuhL fUwQpfcYpdIcne28nrVqXFHaEi8DTamJn8v4Ny6md3KKyhFaQTSpB5UNN jCcHfGqxcsvbXFXU6Chw1VxiJZUXUGKpYc1r6G670ioFzfys3F8gmIu2S NrtEfDKYwd9W+zqrvvJp64LnZnUhvER1F3gvNJIi2eJ+vleSr7vNT97F7 Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10883"; a="455565733" X-IronPort-AV: E=Sophos;i="6.03,276,1694761200"; d="scan'208";a="455565733" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Nov 2023 02:59:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10883"; a="1009054259" X-IronPort-AV: E=Sophos;i="6.03,276,1694761200"; d="scan'208";a="1009054259" Received: from lkp-server01.sh.intel.com (HELO 17d9e85e5079) ([10.239.97.150]) by fmsmga006.fm.intel.com with ESMTP; 04 Nov 2023 02:59:42 -0700 Received: from kbuild by 17d9e85e5079 with local (Exim 4.96) (envelope-from ) id 1qzDRM-0003l6-1H; Sat, 04 Nov 2023 09:59:40 +0000 Date: Sat, 4 Nov 2023 17:58:26 +0800 From: kernel test robot To: Zhang Xiaoxu , zhangxiaoxu5@huawei.com, weiyongjun1@huawei.com, broonie@kernel.org, rostedt@goodmis.org, mingo@redhat.com, frowand.list@gmail.com, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev Subject: Re: [PATCH v3 -next 2/5] spi: mockup: Add writeable tracepoint for spi transfer Message-ID: <202311041721.m13CvbG0-lkp@intel.com> References: <20231104064650.972687-3-zhangxiaoxu@huaweicloud.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231104064650.972687-3-zhangxiaoxu@huaweicloud.com> X-Spam-Status: No, score=-1.4 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Sat, 04 Nov 2023 03:00:01 -0700 (PDT) Hi Zhang, kernel test robot noticed the following build warnings: [auto build test WARNING on next-20231103] url: https://github.com/intel-lab-lkp/linux/commits/Zhang-Xiaoxu/spi-mockup-Add-SPI-controller-testing-driver/20231104-144859 base: next-20231103 patch link: https://lore.kernel.org/r/20231104064650.972687-3-zhangxiaoxu%40huaweicloud.com patch subject: [PATCH v3 -next 2/5] spi: mockup: Add writeable tracepoint for spi transfer config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20231104/202311041721.m13CvbG0-lkp@intel.com/config) compiler: m68k-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231104/202311041721.m13CvbG0-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/202311041721.m13CvbG0-lkp@intel.com/ All warnings (new ones prefixed by >>): 2221 | rcu_assign_pointer(event->tp_event->prog_array, new_array); | ^~ include/asm-generic/rwonce.h:55:27: note: in definition of macro '__WRITE_ONCE' 55 | *(volatile typeof(x) *)&(x) = (val); \ | ^ include/asm-generic/barrier.h:198:9: note: in expansion of macro 'WRITE_ONCE' 198 | WRITE_ONCE(*p, v); \ | ^~~~~~~~~~ include/linux/rcupdate.h:500:17: note: in expansion of macro 'smp_store_release' 500 | smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \ | ^~~~~~~~~~~~~~~~~ kernel/trace/bpf_trace.c:2221:17: note: in expansion of macro 'rcu_assign_pointer' 2221 | rcu_assign_pointer(event->tp_event->prog_array, new_array); | ^~~~~~~~~~~~~~~~~~ kernel/trace/bpf_trace.c:2221:41: error: 'struct perf_event' has no member named 'tp_event' 2221 | rcu_assign_pointer(event->tp_event->prog_array, new_array); | ^~ include/asm-generic/rwonce.h:55:34: note: in definition of macro '__WRITE_ONCE' 55 | *(volatile typeof(x) *)&(x) = (val); \ | ^ include/asm-generic/barrier.h:198:9: note: in expansion of macro 'WRITE_ONCE' 198 | WRITE_ONCE(*p, v); \ | ^~~~~~~~~~ include/linux/rcupdate.h:500:17: note: in expansion of macro 'smp_store_release' 500 | smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \ | ^~~~~~~~~~~~~~~~~ kernel/trace/bpf_trace.c:2221:17: note: in expansion of macro 'rcu_assign_pointer' 2221 | rcu_assign_pointer(event->tp_event->prog_array, new_array); | ^~~~~~~~~~~~~~~~~~ kernel/trace/bpf_trace.c:2221:41: error: 'struct perf_event' has no member named 'tp_event' 2221 | rcu_assign_pointer(event->tp_event->prog_array, new_array); | ^~ include/asm-generic/rwonce.h:55:40: note: in definition of macro '__WRITE_ONCE' 55 | *(volatile typeof(x) *)&(x) = (val); \ | ^~~ include/asm-generic/barrier.h:198:9: note: in expansion of macro 'WRITE_ONCE' 198 | WRITE_ONCE(*p, v); \ | ^~~~~~~~~~ include/linux/rcupdate.h:500:17: note: in expansion of macro 'smp_store_release' 500 | smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \ | ^~~~~~~~~~~~~~~~~ include/linux/rcupdate.h:500:39: note: in expansion of macro 'RCU_INITIALIZER' 500 | smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \ | ^~~~~~~~~~~~~~~ kernel/trace/bpf_trace.c:2221:17: note: in expansion of macro 'rcu_assign_pointer' 2221 | rcu_assign_pointer(event->tp_event->prog_array, new_array); | ^~~~~~~~~~~~~~~~~~ kernel/trace/bpf_trace.c:2221:41: error: 'struct perf_event' has no member named 'tp_event' 2221 | rcu_assign_pointer(event->tp_event->prog_array, new_array); | ^~ include/asm-generic/rwonce.h:55:40: note: in definition of macro '__WRITE_ONCE' 55 | *(volatile typeof(x) *)&(x) = (val); \ | ^~~ include/asm-generic/barrier.h:198:9: note: in expansion of macro 'WRITE_ONCE' 198 | WRITE_ONCE(*p, v); \ | ^~~~~~~~~~ include/linux/rcupdate.h:500:17: note: in expansion of macro 'smp_store_release' 500 | smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \ | ^~~~~~~~~~~~~~~~~ include/linux/rcupdate.h:500:39: note: in expansion of macro 'RCU_INITIALIZER' 500 | smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \ | ^~~~~~~~~~~~~~~ kernel/trace/bpf_trace.c:2221:17: note: in expansion of macro 'rcu_assign_pointer' 2221 | rcu_assign_pointer(event->tp_event->prog_array, new_array); | ^~~~~~~~~~~~~~~~~~ kernel/trace/bpf_trace.c:2225:27: error: 'struct perf_event' has no member named 'prog' 2225 | bpf_prog_put(event->prog); | ^~ kernel/trace/bpf_trace.c:2226:14: error: 'struct perf_event' has no member named 'prog' 2226 | event->prog = NULL; | ^~ kernel/trace/bpf_trace.c: In function 'perf_event_query_prog_array': kernel/trace/bpf_trace.c:2242:18: error: 'struct perf_event' has no member named 'attr' 2242 | if (event->attr.type != PERF_TYPE_TRACEPOINT) | ^~ kernel/trace/bpf_trace.c:2261:48: error: 'struct perf_event' has no member named 'tp_event' 2261 | progs = bpf_event_rcu_dereference(event->tp_event->prog_array); | ^~ include/linux/rcupdate.h:445:19: note: in definition of macro '__rcu_dereference_protected' 445 | ((typeof(*p) __force __kernel *)(p)); \ | ^ kernel/trace/bpf_trace.c:42:9: note: in expansion of macro 'rcu_dereference_protected' 42 | rcu_dereference_protected(p, lockdep_is_held(&bpf_event_mutex)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ kernel/trace/bpf_trace.c:2261:17: note: in expansion of macro 'bpf_event_rcu_dereference' 2261 | progs = bpf_event_rcu_dereference(event->tp_event->prog_array); | ^~~~~~~~~~~~~~~~~~~~~~~~~ kernel/trace/bpf_trace.c:2261:48: error: 'struct perf_event' has no member named 'tp_event' 2261 | progs = bpf_event_rcu_dereference(event->tp_event->prog_array); | ^~ include/linux/rcupdate.h:445:42: note: in definition of macro '__rcu_dereference_protected' 445 | ((typeof(*p) __force __kernel *)(p)); \ | ^ kernel/trace/bpf_trace.c:42:9: note: in expansion of macro 'rcu_dereference_protected' 42 | rcu_dereference_protected(p, lockdep_is_held(&bpf_event_mutex)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ kernel/trace/bpf_trace.c:2261:17: note: in expansion of macro 'bpf_event_rcu_dereference' 2261 | progs = bpf_event_rcu_dereference(event->tp_event->prog_array); | ^~~~~~~~~~~~~~~~~~~~~~~~~ kernel/trace/bpf_trace.c: At top level: >> kernel/trace/bpf_trace.c:2337:14: warning: no previous prototype for 'bpf_trace_run1' [-Wmissing-prototypes] 2337 | void bpf_trace_run##x(struct bpf_prog *prog, \ | ^~~~~~~~~~~~~ kernel/trace/bpf_trace.c:2345:1: note: in expansion of macro 'BPF_TRACE_DEFN_x' 2345 | BPF_TRACE_DEFN_x(1); | ^~~~~~~~~~~~~~~~ >> kernel/trace/bpf_trace.c:2337:14: warning: no previous prototype for 'bpf_trace_run2' [-Wmissing-prototypes] 2337 | void bpf_trace_run##x(struct bpf_prog *prog, \ | ^~~~~~~~~~~~~ kernel/trace/bpf_trace.c:2346:1: note: in expansion of macro 'BPF_TRACE_DEFN_x' 2346 | BPF_TRACE_DEFN_x(2); | ^~~~~~~~~~~~~~~~ >> kernel/trace/bpf_trace.c:2337:14: warning: no previous prototype for 'bpf_trace_run3' [-Wmissing-prototypes] 2337 | void bpf_trace_run##x(struct bpf_prog *prog, \ | ^~~~~~~~~~~~~ kernel/trace/bpf_trace.c:2347:1: note: in expansion of macro 'BPF_TRACE_DEFN_x' 2347 | BPF_TRACE_DEFN_x(3); | ^~~~~~~~~~~~~~~~ >> kernel/trace/bpf_trace.c:2337:14: warning: no previous prototype for 'bpf_trace_run4' [-Wmissing-prototypes] 2337 | void bpf_trace_run##x(struct bpf_prog *prog, \ | ^~~~~~~~~~~~~ kernel/trace/bpf_trace.c:2348:1: note: in expansion of macro 'BPF_TRACE_DEFN_x' 2348 | BPF_TRACE_DEFN_x(4); | ^~~~~~~~~~~~~~~~ >> kernel/trace/bpf_trace.c:2337:14: warning: no previous prototype for 'bpf_trace_run5' [-Wmissing-prototypes] 2337 | void bpf_trace_run##x(struct bpf_prog *prog, \ | ^~~~~~~~~~~~~ kernel/trace/bpf_trace.c:2349:1: note: in expansion of macro 'BPF_TRACE_DEFN_x' 2349 | BPF_TRACE_DEFN_x(5); | ^~~~~~~~~~~~~~~~ >> kernel/trace/bpf_trace.c:2337:14: warning: no previous prototype for 'bpf_trace_run6' [-Wmissing-prototypes] 2337 | void bpf_trace_run##x(struct bpf_prog *prog, \ | ^~~~~~~~~~~~~ kernel/trace/bpf_trace.c:2350:1: note: in expansion of macro 'BPF_TRACE_DEFN_x' 2350 | BPF_TRACE_DEFN_x(6); | ^~~~~~~~~~~~~~~~ >> kernel/trace/bpf_trace.c:2337:14: warning: no previous prototype for 'bpf_trace_run7' [-Wmissing-prototypes] 2337 | void bpf_trace_run##x(struct bpf_prog *prog, \ | ^~~~~~~~~~~~~ kernel/trace/bpf_trace.c:2351:1: note: in expansion of macro 'BPF_TRACE_DEFN_x' 2351 | BPF_TRACE_DEFN_x(7); | ^~~~~~~~~~~~~~~~ >> kernel/trace/bpf_trace.c:2337:14: warning: no previous prototype for 'bpf_trace_run8' [-Wmissing-prototypes] 2337 | void bpf_trace_run##x(struct bpf_prog *prog, \ | ^~~~~~~~~~~~~ kernel/trace/bpf_trace.c:2352:1: note: in expansion of macro 'BPF_TRACE_DEFN_x' 2352 | BPF_TRACE_DEFN_x(8); | ^~~~~~~~~~~~~~~~ >> kernel/trace/bpf_trace.c:2337:14: warning: no previous prototype for 'bpf_trace_run9' [-Wmissing-prototypes] 2337 | void bpf_trace_run##x(struct bpf_prog *prog, \ | ^~~~~~~~~~~~~ kernel/trace/bpf_trace.c:2353:1: note: in expansion of macro 'BPF_TRACE_DEFN_x' 2353 | BPF_TRACE_DEFN_x(9); | ^~~~~~~~~~~~~~~~ >> kernel/trace/bpf_trace.c:2337:14: warning: no previous prototype for 'bpf_trace_run10' [-Wmissing-prototypes] 2337 | void bpf_trace_run##x(struct bpf_prog *prog, \ | ^~~~~~~~~~~~~ kernel/trace/bpf_trace.c:2354:1: note: in expansion of macro 'BPF_TRACE_DEFN_x' 2354 | BPF_TRACE_DEFN_x(10); | ^~~~~~~~~~~~~~~~ >> kernel/trace/bpf_trace.c:2337:14: warning: no previous prototype for 'bpf_trace_run11' [-Wmissing-prototypes] 2337 | void bpf_trace_run##x(struct bpf_prog *prog, \ | ^~~~~~~~~~~~~ kernel/trace/bpf_trace.c:2355:1: note: in expansion of macro 'BPF_TRACE_DEFN_x' 2355 | BPF_TRACE_DEFN_x(11); | ^~~~~~~~~~~~~~~~ >> kernel/trace/bpf_trace.c:2337:14: warning: no previous prototype for 'bpf_trace_run12' [-Wmissing-prototypes] 2337 | void bpf_trace_run##x(struct bpf_prog *prog, \ | ^~~~~~~~~~~~~ kernel/trace/bpf_trace.c:2356:1: note: in expansion of macro 'BPF_TRACE_DEFN_x' 2356 | BPF_TRACE_DEFN_x(12); | ^~~~~~~~~~~~~~~~ kernel/trace/bpf_trace.c: In function 'bpf_get_perf_event_info': kernel/trace/bpf_trace.c:2395:21: error: 'const struct perf_event' has no member named 'prog' 2395 | prog = event->prog; | ^~ kernel/trace/bpf_trace.c:2404:22: error: 'const struct perf_event' has no member named 'tp_event' 2404 | flags = event->tp_event->flags; | ^~ kernel/trace/bpf_trace.c:2406:53: error: 'const struct perf_event' has no member named 'tp_event' 2406 | is_syscall_tp = is_syscall_trace_event(event->tp_event); | ^~ kernel/trace/bpf_trace.c:2409:45: error: 'const struct perf_event' has no member named 'tp_event' 2409 | *buf = is_tracepoint ? event->tp_event->tp->name | ^~ kernel/trace/bpf_trace.c:2410:45: error: 'const struct perf_event' has no member named 'tp_event' 2410 | : event->tp_event->name; | ^~ kernel/trace/bpf_trace.c: In function '____bpf_get_attach_cookie_pe': >> kernel/trace/bpf_trace.c:1155:1: warning: control reaches end of non-void function [-Wreturn-type] 1155 | } | ^ cc1: some warnings being treated as errors Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for BPF_EVENTS Depends on [n]: FTRACE [=n] && BPF_SYSCALL [=y] && (KPROBE_EVENTS [=n] || UPROBE_EVENTS [=n]) && PERF_EVENTS [=n] Selected by [y]: - SPI_MOCKUP [=y] && SPI [=y] && SPI_MASTER [=y] && OF [=y] vim +/bpf_trace_run1 +2337 kernel/trace/bpf_trace.c c4f6699dfcb855 Alexei Starovoitov 2018-03-28 2335 c4f6699dfcb855 Alexei Starovoitov 2018-03-28 2336 #define BPF_TRACE_DEFN_x(x) \ c4f6699dfcb855 Alexei Starovoitov 2018-03-28 @2337 void bpf_trace_run##x(struct bpf_prog *prog, \ c4f6699dfcb855 Alexei Starovoitov 2018-03-28 2338 REPEAT(x, SARG, __DL_COM, __SEQ_0_11)) \ c4f6699dfcb855 Alexei Starovoitov 2018-03-28 2339 { \ c4f6699dfcb855 Alexei Starovoitov 2018-03-28 2340 u64 args[x]; \ c4f6699dfcb855 Alexei Starovoitov 2018-03-28 2341 REPEAT(x, COPY, __DL_SEM, __SEQ_0_11); \ c4f6699dfcb855 Alexei Starovoitov 2018-03-28 2342 __bpf_trace_run(prog, args); \ c4f6699dfcb855 Alexei Starovoitov 2018-03-28 2343 } \ c4f6699dfcb855 Alexei Starovoitov 2018-03-28 2344 EXPORT_SYMBOL_GPL(bpf_trace_run##x) c4f6699dfcb855 Alexei Starovoitov 2018-03-28 2345 BPF_TRACE_DEFN_x(1); c4f6699dfcb855 Alexei Starovoitov 2018-03-28 2346 BPF_TRACE_DEFN_x(2); c4f6699dfcb855 Alexei Starovoitov 2018-03-28 2347 BPF_TRACE_DEFN_x(3); c4f6699dfcb855 Alexei Starovoitov 2018-03-28 2348 BPF_TRACE_DEFN_x(4); c4f6699dfcb855 Alexei Starovoitov 2018-03-28 2349 BPF_TRACE_DEFN_x(5); c4f6699dfcb855 Alexei Starovoitov 2018-03-28 2350 BPF_TRACE_DEFN_x(6); c4f6699dfcb855 Alexei Starovoitov 2018-03-28 2351 BPF_TRACE_DEFN_x(7); c4f6699dfcb855 Alexei Starovoitov 2018-03-28 2352 BPF_TRACE_DEFN_x(8); c4f6699dfcb855 Alexei Starovoitov 2018-03-28 2353 BPF_TRACE_DEFN_x(9); c4f6699dfcb855 Alexei Starovoitov 2018-03-28 2354 BPF_TRACE_DEFN_x(10); c4f6699dfcb855 Alexei Starovoitov 2018-03-28 2355 BPF_TRACE_DEFN_x(11); c4f6699dfcb855 Alexei Starovoitov 2018-03-28 2356 BPF_TRACE_DEFN_x(12); c4f6699dfcb855 Alexei Starovoitov 2018-03-28 2357 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki