Re: [PATCH v2] tracepoints: Do not punish non static call users

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Steven,

I love your patch! Yet something to improve:

[auto build test ERROR on tip/perf/core]
[also build test ERROR 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/20210206-112501
base:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 32451614da2a9cf4296f90d3606ac77814fb519d
config: powerpc-randconfig-r002-20210206 (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/3fc399c60e990487bf5d0cd91406052c0db853df
        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/20210206-112501
        git checkout 3fc399c60e990487bf5d0cd91406052c0db853df
        # 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@xxxxxxxxx>

All error/warnings (new ones prefixed by >>):

   In file included from arch/powerpc/kernel/ptrace/ptrace.c:29:
>> include/trace/events/syscalls.h:18:1: error: variable '__data' is uninitialized when used here [-Werror,-Wuninitialized]
   TRACE_EVENT_FN(sys_enter,
   ^~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/tracepoint.h:553:2: note: expanded from macro 'TRACE_EVENT_FN'
           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/syscalls.h:18:1: note: variable '__data' is declared here
   include/linux/tracepoint.h:553:2: note: expanded from macro 'TRACE_EVENT_FN'
           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 __maybe_unused *__data;                            \
                   ^
   In file included from arch/powerpc/kernel/ptrace/ptrace.c:29:
>> include/trace/events/syscalls.h:18:1: error: variable '__data' is uninitialized when used here [-Werror,-Wuninitialized]
   TRACE_EVENT_FN(sys_enter,
   ^~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/tracepoint.h:553:2: note: expanded from macro 'TRACE_EVENT_FN'
           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/syscalls.h:18:1: note: variable '__data' is declared here
   include/linux/tracepoint.h:553:2: note: expanded from macro 'TRACE_EVENT_FN'
           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 __maybe_unused *__data;                            \
                   ^
   In file included from arch/powerpc/kernel/ptrace/ptrace.c:29:
   include/trace/events/syscalls.h:44:1: error: variable '__data' is uninitialized when used here [-Werror,-Wuninitialized]
   TRACE_EVENT_FN(sys_exit,
   ^~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/tracepoint.h:553:2: note: expanded from macro 'TRACE_EVENT_FN'
           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/syscalls.h:44:1: note: variable '__data' is declared here
   include/linux/tracepoint.h:553:2: note: expanded from macro 'TRACE_EVENT_FN'
           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 __maybe_unused *__data;                            \
                   ^
   In file included from arch/powerpc/kernel/ptrace/ptrace.c:29:
   include/trace/events/syscalls.h:44:1: error: variable '__data' is uninitialized when used here [-Werror,-Wuninitialized]
   TRACE_EVENT_FN(sys_exit,
   ^~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/tracepoint.h:553:2: note: expanded from macro 'TRACE_EVENT_FN'
           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/syscalls.h:44:1: note: variable '__data' is declared here
   include/linux/tracepoint.h:553:2: note: expanded from macro 'TRACE_EVENT_FN'
           DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
           ^
--
   In file included from arch/powerpc/mm/nohash/mmu_context.c:51:
   In file included from arch/powerpc/mm/mmu_decl.h:20:
>> arch/powerpc/include/asm/trace.h:29:1: error: variable '__data' is uninitialized when used here [-Werror,-Wuninitialized]
   DEFINE_EVENT(ppc64_interrupt_class, irq_entry,
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   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))
                                  ^~~~~~
   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)
                                                              ^~~~
   arch/powerpc/include/asm/trace.h:29:1: note: variable '__data' is declared here
   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 __maybe_unused *__data;                            \
                   ^
   In file included from arch/powerpc/mm/nohash/mmu_context.c:51:
   In file included from arch/powerpc/mm/mmu_decl.h:20:
>> arch/powerpc/include/asm/trace.h:29:1: error: variable '__data' is uninitialized when used here [-Werror,-Wuninitialized]
   DEFINE_EVENT(ppc64_interrupt_class, irq_entry,
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   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))
                                  ^~~~~~
   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)
                                                              ^~~~
   arch/powerpc/include/asm/trace.h:29:1: note: variable '__data' is declared here
   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 __maybe_unused *__data;                            \
                   ^
   In file included from arch/powerpc/mm/nohash/mmu_context.c:51:
   In file included from arch/powerpc/mm/mmu_decl.h:20:
   arch/powerpc/include/asm/trace.h:36:1: error: variable '__data' is uninitialized when used here [-Werror,-Wuninitialized]
   DEFINE_EVENT(ppc64_interrupt_class, irq_exit,
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   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))
                                  ^~~~~~
   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)
                                                              ^~~~
   arch/powerpc/include/asm/trace.h:36:1: note: variable '__data' is declared here
   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 __maybe_unused *__data;                            \
                   ^
   In file included from arch/powerpc/mm/nohash/mmu_context.c:51:
   In file included from arch/powerpc/mm/mmu_decl.h:20:
   arch/powerpc/include/asm/trace.h:36:1: error: variable '__data' is uninitialized when used here [-Werror,-Wuninitialized]
   DEFINE_EVENT(ppc64_interrupt_class, irq_exit,
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   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))
                                  ^~~~~~
   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)
                                                              ^~~~
   arch/powerpc/include/asm/trace.h:36:1: note: variable '__data' is declared here
   include/linux/tracepoint.h:539:2: note: expanded from macro 'DEFINE_EVENT'
--
   In file included from arch/powerpc/mm/nohash/tlb.c:45:
   In file included from arch/powerpc/mm/mmu_decl.h:20:
>> arch/powerpc/include/asm/trace.h:29:1: error: variable '__data' is uninitialized when used here [-Werror,-Wuninitialized]
   DEFINE_EVENT(ppc64_interrupt_class, irq_entry,
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   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))
                                  ^~~~~~
   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)
                                                              ^~~~
   arch/powerpc/include/asm/trace.h:29:1: note: variable '__data' is declared here
   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 __maybe_unused *__data;                            \
                   ^
   In file included from arch/powerpc/mm/nohash/tlb.c:45:
   In file included from arch/powerpc/mm/mmu_decl.h:20:
>> arch/powerpc/include/asm/trace.h:29:1: error: variable '__data' is uninitialized when used here [-Werror,-Wuninitialized]
   DEFINE_EVENT(ppc64_interrupt_class, irq_entry,
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   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))
                                  ^~~~~~
   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)
                                                              ^~~~
   arch/powerpc/include/asm/trace.h:29:1: note: variable '__data' is declared here
   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 __maybe_unused *__data;                            \
                   ^
   In file included from arch/powerpc/mm/nohash/tlb.c:45:
   In file included from arch/powerpc/mm/mmu_decl.h:20:
   arch/powerpc/include/asm/trace.h:36:1: error: variable '__data' is uninitialized when used here [-Werror,-Wuninitialized]
   DEFINE_EVENT(ppc64_interrupt_class, irq_exit,
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   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))
                                  ^~~~~~
   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)
                                                              ^~~~
   arch/powerpc/include/asm/trace.h:36:1: note: variable '__data' is declared here
   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 __maybe_unused *__data;                            \
                   ^
   In file included from arch/powerpc/mm/nohash/tlb.c:45:
   In file included from arch/powerpc/mm/mmu_decl.h:20:
   arch/powerpc/include/asm/trace.h:36:1: error: variable '__data' is uninitialized when used here [-Werror,-Wuninitialized]
   DEFINE_EVENT(ppc64_interrupt_class, irq_exit,
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   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))
                                  ^~~~~~
   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)
                                                              ^~~~
   arch/powerpc/include/asm/trace.h:36:1: note: variable '__data' is declared here
   include/linux/tracepoint.h:539:2: note: expanded from macro 'DEFINE_EVENT'
..

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for NETDEVICES
   Depends on NET
   Selected by
   - AKEBONO && PPC_47x
   WARNING: unmet direct dependencies detected for ETHERNET
   Depends on NETDEVICES && NET
   Selected by
   - AKEBONO && PPC_47x
   WARNING: unmet direct dependencies detected for GRO_CELLS
   Depends on NET
   Selected by
   - MACSEC && NETDEVICES && NET_CORE
   - RMNET && NETDEVICES && ETHERNET && NET_VENDOR_QUALCOMM
   WARNING: unmet direct dependencies detected for FAILOVER
   Depends on NET
   Selected by
   - NET_FAILOVER && NETDEVICES
   WARNING: unmet direct dependencies detected for PAGE_POOL
   Depends on NET
   Selected by
   - BNXT && NETDEVICES && ETHERNET && NET_VENDOR_BROADCOM && PCI
   - STMMAC_ETH && NETDEVICES && ETHERNET && NET_VENDOR_STMICRO && HAS_IOMEM && HAS_DMA
   WARNING: unmet direct dependencies detected for NET_DEVLINK
   Depends on NET
   Selected by
   - BNXT && NETDEVICES && ETHERNET && NET_VENDOR_BROADCOM && PCI
   - MLX5_CORE && NETDEVICES && ETHERNET && NET_VENDOR_MELLANOX && PCI && (VXLAN || !VXLAN && (MLXFW || !MLXFW && (PTP_1588_CLOCK || !PTP_1588_CLOCK && (PCI_HYPERV_INTERFACE || !PCI_HYPERV_INTERFACE
   - MLXSW_CORE && NETDEVICES && ETHERNET && NET_VENDOR_MELLANOX
   - MLXFW && NETDEVICES && ETHERNET && NET_VENDOR_MELLANOX


vim +/__data +18 include/trace/events/syscalls.h

1c569f0264ea62 Josh Stone               2009-08-24  17  
1c569f0264ea62 Josh Stone               2009-08-24 @18  TRACE_EVENT_FN(sys_enter,
1c569f0264ea62 Josh Stone               2009-08-24  19  
1c569f0264ea62 Josh Stone               2009-08-24  20  	TP_PROTO(struct pt_regs *regs, long id),
1c569f0264ea62 Josh Stone               2009-08-24  21  
1c569f0264ea62 Josh Stone               2009-08-24  22  	TP_ARGS(regs, id),
1c569f0264ea62 Josh Stone               2009-08-24  23  
1c569f0264ea62 Josh Stone               2009-08-24  24  	TP_STRUCT__entry(
1c569f0264ea62 Josh Stone               2009-08-24  25  		__field(	long,		id		)
1c569f0264ea62 Josh Stone               2009-08-24  26  		__array(	unsigned long,	args,	6	)
1c569f0264ea62 Josh Stone               2009-08-24  27  	),
1c569f0264ea62 Josh Stone               2009-08-24  28  
1c569f0264ea62 Josh Stone               2009-08-24  29  	TP_fast_assign(
1c569f0264ea62 Josh Stone               2009-08-24  30  		__entry->id	= id;
b35f549df1d752 Steven Rostedt (Red Hat  2016-11-07  31) 		syscall_get_arguments(current, regs, __entry->args);
1c569f0264ea62 Josh Stone               2009-08-24  32  	),
1c569f0264ea62 Josh Stone               2009-08-24  33  
1c569f0264ea62 Josh Stone               2009-08-24  34  	TP_printk("NR %ld (%lx, %lx, %lx, %lx, %lx, %lx)",
1c569f0264ea62 Josh Stone               2009-08-24  35  		  __entry->id,
1c569f0264ea62 Josh Stone               2009-08-24  36  		  __entry->args[0], __entry->args[1], __entry->args[2],
1c569f0264ea62 Josh Stone               2009-08-24  37  		  __entry->args[3], __entry->args[4], __entry->args[5]),
1c569f0264ea62 Josh Stone               2009-08-24  38  
1c569f0264ea62 Josh Stone               2009-08-24  39  	syscall_regfunc, syscall_unregfunc
1c569f0264ea62 Josh Stone               2009-08-24  40  );
1c569f0264ea62 Josh Stone               2009-08-24  41  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux