* Re: [PATCH] tracepoints: Do not punish non static call users
[not found] <20210204141742.46739ed2@gandalf.local.home>
@ 2021-02-05 15:57 ` kernel test robot
2021-02-05 21:35 ` kernel test robot
1 sibling, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-02-05 15:57 UTC (permalink / raw)
To: Steven Rostedt, LKML
Cc: kbuild-all, clang-built-linux, Ingo Molnar, Andrew Morton,
Linux Memory Management List, Peter Zijlstra, Mathieu Desnoyers
[-- Attachment #1: Type: text/plain, Size: 22383 bytes --]
Hi Steven,
I love your patch! Perhaps something to improve:
[auto build test WARNING on tip/perf/core]
[also build test WARNING on linux/master linus/master v5.11-rc6 next-20210125]
[cannot apply to hnaz-linux-mm/master]
[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]
url: https://github.com/0day-ci/linux/commits/Steven-Rostedt/tracepoints-Do-not-punish-non-static-call-users/20210205-032217
base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 32451614da2a9cf4296f90d3606ac77814fb519d
config: powerpc-randconfig-r023-20210205 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c9439ca36342fb6013187d0a69aef92736951476)
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
# install powerpc cross compiling tool for clang build
# apt-get install binutils-powerpc-linux-gnu
# https://github.com/0day-ci/linux/commit/6458987cbf8a57376cd608aa4a066a2e86850cc5
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Steven-Rostedt/tracepoints-Do-not-punish-non-static-call-users/20210205-032217
git checkout 6458987cbf8a57376cd608aa4a066a2e86850cc5
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
arch/powerpc/include/asm/io.h:616:3: note: expanded from macro 'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:121:1: note: expanded from here
__do_outl
^
arch/powerpc/include/asm/io.h:537:62: note: expanded from macro '__do_outl'
#define __do_outl(val, port) writel(val,(PCI_IO_ADDR)_IO_BASE+port);
~~~~~~~~~~~~~~~~~~~~~^
In file included from drivers/mtd/devices/docg3.c:15:
In file included from include/linux/io.h:13:
In file included from arch/powerpc/include/asm/io.h:619:
arch/powerpc/include/asm/io-defs.h:43:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
DEF_PCI_AC_NORET(insb, (unsigned long p, void *b, unsigned long c),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:616:3: note: expanded from macro 'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:135:1: note: expanded from here
__do_insb
^
arch/powerpc/include/asm/io.h:556:56: note: expanded from macro '__do_insb'
#define __do_insb(p, b, n) readsb((PCI_IO_ADDR)_IO_BASE+(p), (b), (n))
~~~~~~~~~~~~~~~~~~~~~^
In file included from drivers/mtd/devices/docg3.c:15:
In file included from include/linux/io.h:13:
In file included from arch/powerpc/include/asm/io.h:619:
arch/powerpc/include/asm/io-defs.h:45:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
DEF_PCI_AC_NORET(insw, (unsigned long p, void *b, unsigned long c),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:616:3: note: expanded from macro 'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:137:1: note: expanded from here
__do_insw
^
arch/powerpc/include/asm/io.h:557:56: note: expanded from macro '__do_insw'
#define __do_insw(p, b, n) readsw((PCI_IO_ADDR)_IO_BASE+(p), (b), (n))
~~~~~~~~~~~~~~~~~~~~~^
In file included from drivers/mtd/devices/docg3.c:15:
In file included from include/linux/io.h:13:
In file included from arch/powerpc/include/asm/io.h:619:
arch/powerpc/include/asm/io-defs.h:47:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
DEF_PCI_AC_NORET(insl, (unsigned long p, void *b, unsigned long c),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:616:3: note: expanded from macro 'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:139:1: note: expanded from here
__do_insl
^
arch/powerpc/include/asm/io.h:558:56: note: expanded from macro '__do_insl'
#define __do_insl(p, b, n) readsl((PCI_IO_ADDR)_IO_BASE+(p), (b), (n))
~~~~~~~~~~~~~~~~~~~~~^
In file included from drivers/mtd/devices/docg3.c:15:
In file included from include/linux/io.h:13:
In file included from arch/powerpc/include/asm/io.h:619:
arch/powerpc/include/asm/io-defs.h:49:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
DEF_PCI_AC_NORET(outsb, (unsigned long p, const void *b, unsigned long c),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:616:3: note: expanded from macro 'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:141:1: note: expanded from here
__do_outsb
^
arch/powerpc/include/asm/io.h:559:58: note: expanded from macro '__do_outsb'
#define __do_outsb(p, b, n) writesb((PCI_IO_ADDR)_IO_BASE+(p),(b),(n))
~~~~~~~~~~~~~~~~~~~~~^
In file included from drivers/mtd/devices/docg3.c:15:
In file included from include/linux/io.h:13:
In file included from arch/powerpc/include/asm/io.h:619:
arch/powerpc/include/asm/io-defs.h:51:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
DEF_PCI_AC_NORET(outsw, (unsigned long p, const void *b, unsigned long c),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:616:3: note: expanded from macro 'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:143:1: note: expanded from here
__do_outsw
^
arch/powerpc/include/asm/io.h:560:58: note: expanded from macro '__do_outsw'
#define __do_outsw(p, b, n) writesw((PCI_IO_ADDR)_IO_BASE+(p),(b),(n))
~~~~~~~~~~~~~~~~~~~~~^
In file included from drivers/mtd/devices/docg3.c:15:
In file included from include/linux/io.h:13:
In file included from arch/powerpc/include/asm/io.h:619:
arch/powerpc/include/asm/io-defs.h:53:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
DEF_PCI_AC_NORET(outsl, (unsigned long p, const void *b, unsigned long c),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:616:3: note: expanded from macro 'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:145:1: note: expanded from here
__do_outsl
^
arch/powerpc/include/asm/io.h:561:58: note: expanded from macro '__do_outsl'
#define __do_outsl(p, b, n) writesl((PCI_IO_ADDR)_IO_BASE+(p),(b),(n))
~~~~~~~~~~~~~~~~~~~~~^
In file included from drivers/mtd/devices/docg3.c:27:
>> drivers/mtd/devices/docg3.h:319:1: warning: variable '__data' is uninitialized when used here [-Wuninitialized]
TRACE_EVENT(docg3_io,
^~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:550:2: note: expanded from macro 'TRACE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:417:11: note: expanded from macro 'DECLARE_TRACE'
PARAMS(__data, args))
^~~~~~
include/linux/tracepoint.h:97:25: note: expanded from macro 'PARAMS'
#define PARAMS(args...) args
^~~~
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/tracepoint.h:201:33: note: expanded from macro '__DO_TRACE'
__DO_TRACE_CALL(name, TP_ARGS(args)); \
^~~~
include/linux/tracepoint.h:138:26: note: expanded from macro 'TP_ARGS'
#define TP_ARGS(args...) args
^~~~
include/linux/tracepoint.h:166:56: note: expanded from macro '__DO_TRACE_CALL'
#define __DO_TRACE_CALL(name, args) __traceiter_##name(args)
^~~~
drivers/mtd/devices/docg3.h:319:1: note: variable '__data' is declared here
include/linux/tracepoint.h:550:2: note: expanded from macro 'TRACE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^
include/linux/tracepoint.h:414:2: note: expanded from macro 'DECLARE_TRACE'
__DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
^
include/linux/tracepoint.h:244:4: note: expanded from macro '__DECLARE_TRACE'
__DO_TRACE(name, \
^
include/linux/tracepoint.h:181:3: note: expanded from macro '__DO_TRACE'
void *__data; \
^
In file included from drivers/mtd/devices/docg3.c:27:
In file included from drivers/mtd/devices/docg3.h:343:
include/trace/define_trace.h:95:10: fatal error: './docg3.h' file not found
#include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/trace/define_trace.h:90:32: note: expanded from macro 'TRACE_INCLUDE'
# define TRACE_INCLUDE(system) __TRACE_INCLUDE(system)
^~~~~~~~~~~~~~~~~~~~~~~
include/trace/define_trace.h:87:34: note: expanded from macro '__TRACE_INCLUDE'
# define __TRACE_INCLUDE(system) __stringify(TRACE_INCLUDE_PATH/system.h)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/stringify.h:10:27: note: expanded from macro '__stringify'
#define __stringify(x...) __stringify_1(x)
^~~~~~~~~~~~~~~~
include/linux/stringify.h:9:29: note: expanded from macro '__stringify_1'
#define __stringify_1(x...) #x
^~
<scratch space>:18:1: note: expanded from here
"./docg3.h"
^~~~~~~~~~~
13 warnings and 1 error generated.
--
^
arch/powerpc/include/asm/io.h:556:56: note: expanded from macro '__do_insb'
#define __do_insb(p, b, n) readsb((PCI_IO_ADDR)_IO_BASE+(p), (b), (n))
~~~~~~~~~~~~~~~~~~~~~^
In file included from samples/ftrace/sample-trace-array.c:5:
In file included from include/linux/trace_events.h:9:
In file included from include/linux/hardirq.h:10:
In file included from arch/powerpc/include/asm/hardirq.h:6:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/powerpc/include/asm/io.h:619:
arch/powerpc/include/asm/io-defs.h:45:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
DEF_PCI_AC_NORET(insw, (unsigned long p, void *b, unsigned long c),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:616:3: note: expanded from macro 'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:209:1: note: expanded from here
__do_insw
^
arch/powerpc/include/asm/io.h:557:56: note: expanded from macro '__do_insw'
#define __do_insw(p, b, n) readsw((PCI_IO_ADDR)_IO_BASE+(p), (b), (n))
~~~~~~~~~~~~~~~~~~~~~^
In file included from samples/ftrace/sample-trace-array.c:5:
In file included from include/linux/trace_events.h:9:
In file included from include/linux/hardirq.h:10:
In file included from arch/powerpc/include/asm/hardirq.h:6:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/powerpc/include/asm/io.h:619:
arch/powerpc/include/asm/io-defs.h:47:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
DEF_PCI_AC_NORET(insl, (unsigned long p, void *b, unsigned long c),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:616:3: note: expanded from macro 'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:211:1: note: expanded from here
__do_insl
^
arch/powerpc/include/asm/io.h:558:56: note: expanded from macro '__do_insl'
#define __do_insl(p, b, n) readsl((PCI_IO_ADDR)_IO_BASE+(p), (b), (n))
~~~~~~~~~~~~~~~~~~~~~^
In file included from samples/ftrace/sample-trace-array.c:5:
In file included from include/linux/trace_events.h:9:
In file included from include/linux/hardirq.h:10:
In file included from arch/powerpc/include/asm/hardirq.h:6:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/powerpc/include/asm/io.h:619:
arch/powerpc/include/asm/io-defs.h:49:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
DEF_PCI_AC_NORET(outsb, (unsigned long p, const void *b, unsigned long c),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:616:3: note: expanded from macro 'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:213:1: note: expanded from here
__do_outsb
^
arch/powerpc/include/asm/io.h:559:58: note: expanded from macro '__do_outsb'
#define __do_outsb(p, b, n) writesb((PCI_IO_ADDR)_IO_BASE+(p),(b),(n))
~~~~~~~~~~~~~~~~~~~~~^
In file included from samples/ftrace/sample-trace-array.c:5:
In file included from include/linux/trace_events.h:9:
In file included from include/linux/hardirq.h:10:
In file included from arch/powerpc/include/asm/hardirq.h:6:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/powerpc/include/asm/io.h:619:
arch/powerpc/include/asm/io-defs.h:51:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
DEF_PCI_AC_NORET(outsw, (unsigned long p, const void *b, unsigned long c),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:616:3: note: expanded from macro 'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:215:1: note: expanded from here
__do_outsw
^
arch/powerpc/include/asm/io.h:560:58: note: expanded from macro '__do_outsw'
#define __do_outsw(p, b, n) writesw((PCI_IO_ADDR)_IO_BASE+(p),(b),(n))
~~~~~~~~~~~~~~~~~~~~~^
In file included from samples/ftrace/sample-trace-array.c:5:
In file included from include/linux/trace_events.h:9:
In file included from include/linux/hardirq.h:10:
In file included from arch/powerpc/include/asm/hardirq.h:6:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/powerpc/include/asm/io.h:619:
arch/powerpc/include/asm/io-defs.h:53:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
DEF_PCI_AC_NORET(outsl, (unsigned long p, const void *b, unsigned long c),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:616:3: note: expanded from macro 'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:217:1: note: expanded from here
__do_outsl
^
arch/powerpc/include/asm/io.h:561:58: note: expanded from macro '__do_outsl'
#define __do_outsl(p, b, n) writesl((PCI_IO_ADDR)_IO_BASE+(p),(b),(n))
~~~~~~~~~~~~~~~~~~~~~^
In file included from samples/ftrace/sample-trace-array.c:18:
>> samples/ftrace/sample-trace-array.h:60:1: warning: variable '__data' is uninitialized when used here [-Wuninitialized]
TRACE_EVENT(sample_event,
^~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:550:2: note: expanded from macro 'TRACE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:417:11: note: expanded from macro 'DECLARE_TRACE'
PARAMS(__data, args))
^~~~~~
include/linux/tracepoint.h:97:25: note: expanded from macro 'PARAMS'
#define PARAMS(args...) args
^~~~
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/tracepoint.h:201:33: note: expanded from macro '__DO_TRACE'
__DO_TRACE_CALL(name, TP_ARGS(args)); \
^~~~
include/linux/tracepoint.h:138:26: note: expanded from macro 'TP_ARGS'
#define TP_ARGS(args...) args
^~~~
include/linux/tracepoint.h:166:56: note: expanded from macro '__DO_TRACE_CALL'
#define __DO_TRACE_CALL(name, args) __traceiter_##name(args)
^~~~
samples/ftrace/sample-trace-array.h:60:1: note: variable '__data' is declared here
include/linux/tracepoint.h:550:2: note: expanded from macro 'TRACE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^
include/linux/tracepoint.h:414:2: note: expanded from macro 'DECLARE_TRACE'
__DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
^
include/linux/tracepoint.h:244:4: note: expanded from macro '__DECLARE_TRACE'
__DO_TRACE(name, \
^
include/linux/tracepoint.h:181:3: note: expanded from macro '__DO_TRACE'
void *__data; \
^
In file included from samples/ftrace/sample-trace-array.c:18:
In file included from samples/ftrace/sample-trace-array.h:84:
include/trace/define_trace.h:95:10: fatal error: './sample-trace-array.h' file not found
#include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/trace/define_trace.h:90:32: note: expanded from macro 'TRACE_INCLUDE'
# define TRACE_INCLUDE(system) __TRACE_INCLUDE(system)
^~~~~~~~~~~~~~~~~~~~~~~
include/trace/define_trace.h:87:34: note: expanded from macro '__TRACE_INCLUDE'
# define __TRACE_INCLUDE(system) __stringify(TRACE_INCLUDE_PATH/system.h)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/stringify.h:10:27: note: expanded from macro '__stringify'
#define __stringify(x...) __stringify_1(x)
^~~~~~~~~~~~~~~~
include/linux/stringify.h:9:29: note: expanded from macro '__stringify_1'
#define __stringify_1(x...) #x
^~
<scratch space>:165:1: note: expanded from here
"./sample-trace-array.h"
^~~~~~~~~~~~~~~~~~~~~~~~
13 warnings and 1 error generated.
..
vim +/__data +319 drivers/mtd/devices/docg3.h
efa2ca73a7bc1a Robert Jarzmik 2011-10-05 318
efa2ca73a7bc1a Robert Jarzmik 2011-10-05 @319 TRACE_EVENT(docg3_io,
efa2ca73a7bc1a Robert Jarzmik 2011-10-05 320 TP_PROTO(int op, int width, u16 reg, int val),
efa2ca73a7bc1a Robert Jarzmik 2011-10-05 321 TP_ARGS(op, width, reg, val),
efa2ca73a7bc1a Robert Jarzmik 2011-10-05 322 TP_STRUCT__entry(
efa2ca73a7bc1a Robert Jarzmik 2011-10-05 323 __field(int, op)
efa2ca73a7bc1a Robert Jarzmik 2011-10-05 324 __field(unsigned char, width)
efa2ca73a7bc1a Robert Jarzmik 2011-10-05 325 __field(u16, reg)
efa2ca73a7bc1a Robert Jarzmik 2011-10-05 326 __field(int, val)),
efa2ca73a7bc1a Robert Jarzmik 2011-10-05 327 TP_fast_assign(
efa2ca73a7bc1a Robert Jarzmik 2011-10-05 328 __entry->op = op;
efa2ca73a7bc1a Robert Jarzmik 2011-10-05 329 __entry->width = width;
efa2ca73a7bc1a Robert Jarzmik 2011-10-05 330 __entry->reg = reg;
efa2ca73a7bc1a Robert Jarzmik 2011-10-05 331 __entry->val = val;),
efa2ca73a7bc1a Robert Jarzmik 2011-10-05 332 TP_printk("docg3: %s%02d reg=%04x, val=%04x",
efa2ca73a7bc1a Robert Jarzmik 2011-10-05 333 __entry->op ? "write" : "read", __entry->width,
efa2ca73a7bc1a Robert Jarzmik 2011-10-05 334 __entry->reg, __entry->val)
efa2ca73a7bc1a Robert Jarzmik 2011-10-05 335 );
efa2ca73a7bc1a Robert Jarzmik 2011-10-05 336 #endif
efa2ca73a7bc1a Robert Jarzmik 2011-10-05 337
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 26991 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] tracepoints: Do not punish non static call users
[not found] <20210204141742.46739ed2@gandalf.local.home>
2021-02-05 15:57 ` [PATCH] tracepoints: Do not punish non static call users kernel test robot
@ 2021-02-05 21:35 ` kernel test robot
1 sibling, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-02-05 21:35 UTC (permalink / raw)
To: Steven Rostedt, LKML
Cc: kbuild-all, clang-built-linux, Ingo Molnar, Andrew Morton,
Linux Memory Management List, Peter Zijlstra, Mathieu Desnoyers
[-- Attachment #1: Type: text/plain, Size: 28630 bytes --]
Hi Steven,
I love your patch! Perhaps something to improve:
[auto build test WARNING on tip/perf/core]
[also build test WARNING on linux/master linus/master v5.11-rc6 next-20210125]
[cannot apply to hnaz-linux-mm/master]
[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]
url: https://github.com/0day-ci/linux/commits/Steven-Rostedt/tracepoints-Do-not-punish-non-static-call-users/20210205-032217
base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 32451614da2a9cf4296f90d3606ac77814fb519d
config: mips-randconfig-r035-20210205 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c9439ca36342fb6013187d0a69aef92736951476)
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
# install mips cross compiling tool for clang build
# apt-get install binutils-mips-linux-gnu
# https://github.com/0day-ci/linux/commit/6458987cbf8a57376cd608aa4a066a2e86850cc5
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Steven-Rostedt/tracepoints-Do-not-punish-non-static-call-users/20210205-032217
git checkout 6458987cbf8a57376cd608aa4a066a2e86850cc5
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
In file included from fs/xfs/xfs_trace.c:38:
>> fs/xfs/xfs_trace.h:95:1: warning: variable '__data' is uninitialized when used here [-Wuninitialized]
DEFINE_ATTR_LIST_EVENT(xfs_attr_list_sf);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/xfs/xfs_trace.h:91:38: note: expanded from macro 'DEFINE_ATTR_LIST_EVENT'
#define DEFINE_ATTR_LIST_EVENT(name) \
^
include/linux/tracepoint.h:539:2: note: expanded from macro '\
DEFINE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:417:11: note: expanded from macro 'DECLARE_TRACE'
PARAMS(__data, args))
^~~~~~
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/tracepoint.h:201:33: note: expanded from macro '__DO_TRACE'
__DO_TRACE_CALL(name, TP_ARGS(args)); \
^~~~
include/linux/tracepoint.h:138:26: note: expanded from macro 'TP_ARGS'
#define TP_ARGS(args...) args
^~~~
include/linux/tracepoint.h:166:56: note: expanded from macro '__DO_TRACE_CALL'
#define __DO_TRACE_CALL(name, args) __traceiter_##name(args)
^~~~
fs/xfs/xfs_trace.h:95:1: note: variable '__data' is declared here
fs/xfs/xfs_trace.h:91:38: note: expanded from macro 'DEFINE_ATTR_LIST_EVENT'
#define DEFINE_ATTR_LIST_EVENT(name) \
^
include/linux/tracepoint.h:539:2: note: expanded from macro '\
DEFINE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^
include/linux/tracepoint.h:414:2: note: expanded from macro 'DECLARE_TRACE'
__DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
^
include/linux/tracepoint.h:244:4: note: expanded from macro '__DECLARE_TRACE'
__DO_TRACE(name, \
^
include/linux/tracepoint.h:181:3: note: expanded from macro '__DO_TRACE'
void *__data; \
^
In file included from fs/xfs/xfs_trace.c:38:
>> fs/xfs/xfs_trace.h:95:1: warning: variable '__data' is uninitialized when used here [-Wuninitialized]
DEFINE_ATTR_LIST_EVENT(xfs_attr_list_sf);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/xfs/xfs_trace.h:91:38: note: expanded from macro 'DEFINE_ATTR_LIST_EVENT'
#define DEFINE_ATTR_LIST_EVENT(name) \
^
include/linux/tracepoint.h:539:2: note: expanded from macro '\
DEFINE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:417:11: note: expanded from macro 'DECLARE_TRACE'
PARAMS(__data, args))
^~~~~~
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/tracepoint.h:201:33: note: expanded from macro '__DO_TRACE'
__DO_TRACE_CALL(name, TP_ARGS(args)); \
^~~~
include/linux/tracepoint.h:138:26: note: expanded from macro 'TP_ARGS'
#define TP_ARGS(args...) args
^~~~
include/linux/tracepoint.h:166:56: note: expanded from macro '__DO_TRACE_CALL'
#define __DO_TRACE_CALL(name, args) __traceiter_##name(args)
^~~~
fs/xfs/xfs_trace.h:95:1: note: variable '__data' is declared here
fs/xfs/xfs_trace.h:91:38: note: expanded from macro 'DEFINE_ATTR_LIST_EVENT'
#define DEFINE_ATTR_LIST_EVENT(name) \
^
include/linux/tracepoint.h:539:2: note: expanded from macro '\
DEFINE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^
include/linux/tracepoint.h:414:2: note: expanded from macro 'DECLARE_TRACE'
__DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
^
include/linux/tracepoint.h:254:2: note: expanded from macro '__DECLARE_TRACE'
__DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
^
include/linux/tracepoint.h:216:4: note: expanded from macro '__DECLARE_TRACE_RCU'
__DO_TRACE(name, \
^
include/linux/tracepoint.h:181:3: note: expanded from macro '__DO_TRACE'
void *__data; \
^
In file included from fs/xfs/xfs_trace.c:38:
fs/xfs/xfs_trace.h:96:1: warning: variable '__data' is uninitialized when used here [-Wuninitialized]
DEFINE_ATTR_LIST_EVENT(xfs_attr_list_sf_all);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/xfs/xfs_trace.h:91:38: note: expanded from macro 'DEFINE_ATTR_LIST_EVENT'
#define DEFINE_ATTR_LIST_EVENT(name) \
^
include/linux/tracepoint.h:539:2: note: expanded from macro '\
DEFINE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:417:11: note: expanded from macro 'DECLARE_TRACE'
PARAMS(__data, args))
^~~~~~
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/tracepoint.h:201:33: note: expanded from macro '__DO_TRACE'
__DO_TRACE_CALL(name, TP_ARGS(args)); \
^~~~
include/linux/tracepoint.h:138:26: note: expanded from macro 'TP_ARGS'
#define TP_ARGS(args...) args
^~~~
include/linux/tracepoint.h:166:56: note: expanded from macro '__DO_TRACE_CALL'
#define __DO_TRACE_CALL(name, args) __traceiter_##name(args)
^~~~
fs/xfs/xfs_trace.h:96:1: note: variable '__data' is declared here
fs/xfs/xfs_trace.h:91:38: note: expanded from macro 'DEFINE_ATTR_LIST_EVENT'
#define DEFINE_ATTR_LIST_EVENT(name) \
^
include/linux/tracepoint.h:539:2: note: expanded from macro '\
DEFINE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^
include/linux/tracepoint.h:414:2: note: expanded from macro 'DECLARE_TRACE'
__DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
^
include/linux/tracepoint.h:244:4: note: expanded from macro '__DECLARE_TRACE'
__DO_TRACE(name, \
^
include/linux/tracepoint.h:181:3: note: expanded from macro '__DO_TRACE'
void *__data; \
^
In file included from fs/xfs/xfs_trace.c:38:
fs/xfs/xfs_trace.h:96:1: warning: variable '__data' is uninitialized when used here [-Wuninitialized]
DEFINE_ATTR_LIST_EVENT(xfs_attr_list_sf_all);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/xfs/xfs_trace.h:91:38: note: expanded from macro 'DEFINE_ATTR_LIST_EVENT'
#define DEFINE_ATTR_LIST_EVENT(name) \
^
include/linux/tracepoint.h:539:2: note: expanded from macro '\
DEFINE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:417:11: note: expanded from macro 'DECLARE_TRACE'
PARAMS(__data, args))
^~~~~~
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/tracepoint.h:201:33: note: expanded from macro '__DO_TRACE'
__DO_TRACE_CALL(name, TP_ARGS(args)); \
--
In file included from fs/xfs/scrub/trace.c:38:
>> fs/xfs/scrub/trace.h:122:1: warning: variable '__data' is uninitialized when used here [-Wuninitialized]
DEFINE_SCRUB_EVENT(xchk_start);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/xfs/scrub/trace.h:116:34: note: expanded from macro 'DEFINE_SCRUB_EVENT'
#define DEFINE_SCRUB_EVENT(name) \
^
include/linux/tracepoint.h:539:2: note: expanded from macro '\
DEFINE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:417:11: note: expanded from macro 'DECLARE_TRACE'
PARAMS(__data, args))
^~~~~~
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/tracepoint.h:201:33: note: expanded from macro '__DO_TRACE'
__DO_TRACE_CALL(name, TP_ARGS(args)); \
^~~~
include/linux/tracepoint.h:138:26: note: expanded from macro 'TP_ARGS'
#define TP_ARGS(args...) args
^~~~
include/linux/tracepoint.h:166:56: note: expanded from macro '__DO_TRACE_CALL'
#define __DO_TRACE_CALL(name, args) __traceiter_##name(args)
^~~~
fs/xfs/scrub/trace.h:122:1: note: variable '__data' is declared here
fs/xfs/scrub/trace.h:116:34: note: expanded from macro 'DEFINE_SCRUB_EVENT'
#define DEFINE_SCRUB_EVENT(name) \
^
include/linux/tracepoint.h:539:2: note: expanded from macro '\
DEFINE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^
include/linux/tracepoint.h:414:2: note: expanded from macro 'DECLARE_TRACE'
__DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
^
include/linux/tracepoint.h:244:4: note: expanded from macro '__DECLARE_TRACE'
__DO_TRACE(name, \
^
include/linux/tracepoint.h:181:3: note: expanded from macro '__DO_TRACE'
void *__data; \
^
In file included from fs/xfs/scrub/trace.c:38:
>> fs/xfs/scrub/trace.h:122:1: warning: variable '__data' is uninitialized when used here [-Wuninitialized]
DEFINE_SCRUB_EVENT(xchk_start);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/xfs/scrub/trace.h:116:34: note: expanded from macro 'DEFINE_SCRUB_EVENT'
#define DEFINE_SCRUB_EVENT(name) \
^
include/linux/tracepoint.h:539:2: note: expanded from macro '\
DEFINE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:417:11: note: expanded from macro 'DECLARE_TRACE'
PARAMS(__data, args))
^~~~~~
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/tracepoint.h:201:33: note: expanded from macro '__DO_TRACE'
__DO_TRACE_CALL(name, TP_ARGS(args)); \
^~~~
include/linux/tracepoint.h:138:26: note: expanded from macro 'TP_ARGS'
#define TP_ARGS(args...) args
^~~~
include/linux/tracepoint.h:166:56: note: expanded from macro '__DO_TRACE_CALL'
#define __DO_TRACE_CALL(name, args) __traceiter_##name(args)
^~~~
fs/xfs/scrub/trace.h:122:1: note: variable '__data' is declared here
fs/xfs/scrub/trace.h:116:34: note: expanded from macro 'DEFINE_SCRUB_EVENT'
#define DEFINE_SCRUB_EVENT(name) \
^
include/linux/tracepoint.h:539:2: note: expanded from macro '\
DEFINE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^
include/linux/tracepoint.h:414:2: note: expanded from macro 'DECLARE_TRACE'
__DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
^
include/linux/tracepoint.h:254:2: note: expanded from macro '__DECLARE_TRACE'
__DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
^
include/linux/tracepoint.h:216:4: note: expanded from macro '__DECLARE_TRACE_RCU'
__DO_TRACE(name, \
^
include/linux/tracepoint.h:181:3: note: expanded from macro '__DO_TRACE'
void *__data; \
^
In file included from fs/xfs/scrub/trace.c:38:
fs/xfs/scrub/trace.h:123:1: warning: variable '__data' is uninitialized when used here [-Wuninitialized]
DEFINE_SCRUB_EVENT(xchk_done);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/xfs/scrub/trace.h:116:34: note: expanded from macro 'DEFINE_SCRUB_EVENT'
#define DEFINE_SCRUB_EVENT(name) \
^
include/linux/tracepoint.h:539:2: note: expanded from macro '\
DEFINE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:417:11: note: expanded from macro 'DECLARE_TRACE'
PARAMS(__data, args))
^~~~~~
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/tracepoint.h:201:33: note: expanded from macro '__DO_TRACE'
__DO_TRACE_CALL(name, TP_ARGS(args)); \
^~~~
include/linux/tracepoint.h:138:26: note: expanded from macro 'TP_ARGS'
#define TP_ARGS(args...) args
^~~~
include/linux/tracepoint.h:166:56: note: expanded from macro '__DO_TRACE_CALL'
#define __DO_TRACE_CALL(name, args) __traceiter_##name(args)
^~~~
fs/xfs/scrub/trace.h:123:1: note: variable '__data' is declared here
fs/xfs/scrub/trace.h:116:34: note: expanded from macro 'DEFINE_SCRUB_EVENT'
#define DEFINE_SCRUB_EVENT(name) \
^
include/linux/tracepoint.h:539:2: note: expanded from macro '\
DEFINE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^
include/linux/tracepoint.h:414:2: note: expanded from macro 'DECLARE_TRACE'
__DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
^
include/linux/tracepoint.h:244:4: note: expanded from macro '__DECLARE_TRACE'
__DO_TRACE(name, \
^
include/linux/tracepoint.h:181:3: note: expanded from macro '__DO_TRACE'
void *__data; \
^
In file included from fs/xfs/scrub/trace.c:38:
fs/xfs/scrub/trace.h:123:1: warning: variable '__data' is uninitialized when used here [-Wuninitialized]
DEFINE_SCRUB_EVENT(xchk_done);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/xfs/scrub/trace.h:116:34: note: expanded from macro 'DEFINE_SCRUB_EVENT'
#define DEFINE_SCRUB_EVENT(name) \
^
include/linux/tracepoint.h:539:2: note: expanded from macro '\
DEFINE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:417:11: note: expanded from macro 'DECLARE_TRACE'
PARAMS(__data, args))
^~~~~~
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/tracepoint.h:201:33: note: expanded from macro '__DO_TRACE'
__DO_TRACE_CALL(name, TP_ARGS(args)); \
--
In file included from fs/nilfs2/mdt.c:24:
>> include/trace/events/nilfs2.h:25:1: warning: variable '__data' is uninitialized when used here [-Wuninitialized]
TRACE_EVENT(nilfs2_collection_stage_transition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:550:2: note: expanded from macro 'TRACE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:417:11: note: expanded from macro 'DECLARE_TRACE'
PARAMS(__data, args))
^~~~~~
include/linux/tracepoint.h:97:25: note: expanded from macro 'PARAMS'
#define PARAMS(args...) args
^~~~
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/tracepoint.h:201:33: note: expanded from macro '__DO_TRACE'
__DO_TRACE_CALL(name, TP_ARGS(args)); \
^~~~
include/linux/tracepoint.h:138:26: note: expanded from macro 'TP_ARGS'
#define TP_ARGS(args...) args
^~~~
include/linux/tracepoint.h:166:56: note: expanded from macro '__DO_TRACE_CALL'
#define __DO_TRACE_CALL(name, args) __traceiter_##name(args)
^~~~
include/trace/events/nilfs2.h:25:1: note: variable '__data' is declared here
include/linux/tracepoint.h:550:2: note: expanded from macro 'TRACE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^
include/linux/tracepoint.h:414:2: note: expanded from macro 'DECLARE_TRACE'
__DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
^
include/linux/tracepoint.h:244:4: note: expanded from macro '__DECLARE_TRACE'
__DO_TRACE(name, \
^
include/linux/tracepoint.h:181:3: note: expanded from macro '__DO_TRACE'
void *__data; \
^
In file included from fs/nilfs2/mdt.c:24:
>> include/trace/events/nilfs2.h:25:1: warning: variable '__data' is uninitialized when used here [-Wuninitialized]
TRACE_EVENT(nilfs2_collection_stage_transition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:550:2: note: expanded from macro 'TRACE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:417:11: note: expanded from macro 'DECLARE_TRACE'
PARAMS(__data, args))
^~~~~~
include/linux/tracepoint.h:97:25: note: expanded from macro 'PARAMS'
#define PARAMS(args...) args
^~~~
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/tracepoint.h:201:33: note: expanded from macro '__DO_TRACE'
__DO_TRACE_CALL(name, TP_ARGS(args)); \
^~~~
include/linux/tracepoint.h:138:26: note: expanded from macro 'TP_ARGS'
#define TP_ARGS(args...) args
^~~~
include/linux/tracepoint.h:166:56: note: expanded from macro '__DO_TRACE_CALL'
#define __DO_TRACE_CALL(name, args) __traceiter_##name(args)
^~~~
include/trace/events/nilfs2.h:25:1: note: variable '__data' is declared here
include/linux/tracepoint.h:550:2: note: expanded from macro 'TRACE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^
include/linux/tracepoint.h:414:2: note: expanded from macro 'DECLARE_TRACE'
__DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
^
include/linux/tracepoint.h:254:2: note: expanded from macro '__DECLARE_TRACE'
__DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
^
include/linux/tracepoint.h:216:4: note: expanded from macro '__DECLARE_TRACE_RCU'
__DO_TRACE(name, \
^
include/linux/tracepoint.h:181:3: note: expanded from macro '__DO_TRACE'
void *__data; \
^
In file included from fs/nilfs2/mdt.c:24:
include/trace/events/nilfs2.h:66:1: warning: variable '__data' is uninitialized when used here [-Wuninitialized]
TRACE_EVENT(nilfs2_transaction_transition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:550:2: note: expanded from macro 'TRACE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:417:11: note: expanded from macro 'DECLARE_TRACE'
PARAMS(__data, args))
^~~~~~
include/linux/tracepoint.h:97:25: note: expanded from macro 'PARAMS'
#define PARAMS(args...) args
^~~~
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/tracepoint.h:201:33: note: expanded from macro '__DO_TRACE'
__DO_TRACE_CALL(name, TP_ARGS(args)); \
^~~~
include/linux/tracepoint.h:138:26: note: expanded from macro 'TP_ARGS'
#define TP_ARGS(args...) args
^~~~
include/linux/tracepoint.h:166:56: note: expanded from macro '__DO_TRACE_CALL'
#define __DO_TRACE_CALL(name, args) __traceiter_##name(args)
^~~~
include/trace/events/nilfs2.h:66:1: note: variable '__data' is declared here
include/linux/tracepoint.h:550:2: note: expanded from macro 'TRACE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^
include/linux/tracepoint.h:414:2: note: expanded from macro 'DECLARE_TRACE'
__DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
^
include/linux/tracepoint.h:244:4: note: expanded from macro '__DECLARE_TRACE'
__DO_TRACE(name, \
^
include/linux/tracepoint.h:181:3: note: expanded from macro '__DO_TRACE'
void *__data; \
^
In file included from fs/nilfs2/mdt.c:24:
include/trace/events/nilfs2.h:66:1: warning: variable '__data' is uninitialized when used here [-Wuninitialized]
TRACE_EVENT(nilfs2_transaction_transition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:550:2: note: expanded from macro 'TRACE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:417:11: note: expanded from macro 'DECLARE_TRACE'
PARAMS(__data, args))
^~~~~~
include/linux/tracepoint.h:97:25: note: expanded from macro 'PARAMS'
#define PARAMS(args...) args
^~~~
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/tracepoint.h:201:33: note: expanded from macro '__DO_TRACE'
__DO_TRACE_CALL(name, TP_ARGS(args)); \
^~~~
include/linux/tracepoint.h:138:26: note: expanded from macro 'TP_ARGS'
#define TP_ARGS(args...) args
^~~~
include/linux/tracepoint.h:166:56: note: expanded from macro '__DO_TRACE_CALL'
#define __DO_TRACE_CALL(name, args) __traceiter_##name(args)
^~~~
include/trace/events/nilfs2.h:66:1: note: variable '__data' is declared here
include/linux/tracepoint.h:550:2: note: expanded from macro 'TRACE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^
..
vim +/__data +95 fs/xfs/xfs_trace.h
ea9a48881e093a fs/xfs/linux-2.6/xfs_trace.h Christoph Hellwig 2009-12-21 90
0b1b213fcf3a84 fs/xfs/linux-2.6/xfs_trace.h Christoph Hellwig 2009-12-14 91 #define DEFINE_ATTR_LIST_EVENT(name) \
ea9a48881e093a fs/xfs/linux-2.6/xfs_trace.h Christoph Hellwig 2009-12-21 92 DEFINE_EVENT(xfs_attr_list_class, name, \
0b1b213fcf3a84 fs/xfs/linux-2.6/xfs_trace.h Christoph Hellwig 2009-12-14 93 TP_PROTO(struct xfs_attr_list_context *ctx), \
ea9a48881e093a fs/xfs/linux-2.6/xfs_trace.h Christoph Hellwig 2009-12-21 94 TP_ARGS(ctx))
0b1b213fcf3a84 fs/xfs/linux-2.6/xfs_trace.h Christoph Hellwig 2009-12-14 @95 DEFINE_ATTR_LIST_EVENT(xfs_attr_list_sf);
0b1b213fcf3a84 fs/xfs/linux-2.6/xfs_trace.h Christoph Hellwig 2009-12-14 96 DEFINE_ATTR_LIST_EVENT(xfs_attr_list_sf_all);
0b1b213fcf3a84 fs/xfs/linux-2.6/xfs_trace.h Christoph Hellwig 2009-12-14 97 DEFINE_ATTR_LIST_EVENT(xfs_attr_list_leaf);
0b1b213fcf3a84 fs/xfs/linux-2.6/xfs_trace.h Christoph Hellwig 2009-12-14 98 DEFINE_ATTR_LIST_EVENT(xfs_attr_list_leaf_end);
0b1b213fcf3a84 fs/xfs/linux-2.6/xfs_trace.h Christoph Hellwig 2009-12-14 99 DEFINE_ATTR_LIST_EVENT(xfs_attr_list_full);
0b1b213fcf3a84 fs/xfs/linux-2.6/xfs_trace.h Christoph Hellwig 2009-12-14 100 DEFINE_ATTR_LIST_EVENT(xfs_attr_list_add);
0b1b213fcf3a84 fs/xfs/linux-2.6/xfs_trace.h Christoph Hellwig 2009-12-14 101 DEFINE_ATTR_LIST_EVENT(xfs_attr_list_wrong_blk);
0b1b213fcf3a84 fs/xfs/linux-2.6/xfs_trace.h Christoph Hellwig 2009-12-14 102 DEFINE_ATTR_LIST_EVENT(xfs_attr_list_notfound);
ee73259b401317 fs/xfs/xfs_trace.h Dave Chinner 2012-11-12 103 DEFINE_ATTR_LIST_EVENT(xfs_attr_leaf_list);
ee73259b401317 fs/xfs/xfs_trace.h Dave Chinner 2012-11-12 104 DEFINE_ATTR_LIST_EVENT(xfs_attr_node_list);
0b1b213fcf3a84 fs/xfs/linux-2.6/xfs_trace.h Christoph Hellwig 2009-12-14 105
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 30205 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-02-05 21:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20210204141742.46739ed2@gandalf.local.home>
2021-02-05 15:57 ` [PATCH] tracepoints: Do not punish non static call users kernel test robot
2021-02-05 21:35 ` kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox