[<prev] [next>] [day] [month] [year] [list]
Message-ID: <201607021125.j7PxIkHz%fengguang.wu@intel.com>
Date: Sat, 2 Jul 2016 11:26:28 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: unlisted-recipients:; (no To-header on input)
Cc: kbuild-all@...org, linux-kernel@...r.kernel.org,
Steven Rostedt <rostedt@...dmis.org>,
Tom Zanussi <tom.zanussi@...ux.intel.com>,
Namhyung Kim <namhyung@...nel.org>
Subject: kernel/trace/trace.h:516:28: error: 'struct task_struct' has no
member named 'trace_recursion'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: dbdc3bb74faeec5fd92e28c15c945045d5aab426
commit: 7ef224d1d0e3a1ade02d02c01ce1dcffb736d2c3 tracing: Add 'hist' event trigger command
date: 2 months ago
config: x86_64-randconfig-s0-07021107 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
git checkout 7ef224d1d0e3a1ade02d02c01ce1dcffb736d2c3
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
In file included from kernel/trace/tracing_map.c:29:0:
kernel/trace/trace.h: In function 'trace_test_and_set_recursion':
>> kernel/trace/trace.h:516:28: error: 'struct task_struct' has no member named 'trace_recursion'
unsigned int val = current->trace_recursion;
^~
kernel/trace/trace.h:528:9: error: 'struct task_struct' has no member named 'trace_recursion'
current->trace_recursion = val;
^~
kernel/trace/trace.h: In function 'trace_clear_recursion':
kernel/trace/trace.h:536:28: error: 'struct task_struct' has no member named 'trace_recursion'
unsigned int val = current->trace_recursion;
^~
kernel/trace/trace.h:545:9: error: 'struct task_struct' has no member named 'trace_recursion'
current->trace_recursion = val;
^~
vim +516 kernel/trace/trace.h
edc15caf Steven Rostedt 2012-11-02 510
edc15caf Steven Rostedt 2012-11-02 511 return bit;
edc15caf Steven Rostedt 2012-11-02 512 }
edc15caf Steven Rostedt 2012-11-02 513
edc15caf Steven Rostedt 2012-11-02 514 static __always_inline int trace_test_and_set_recursion(int start, int max)
edc15caf Steven Rostedt 2012-11-02 515 {
edc15caf Steven Rostedt 2012-11-02 @516 unsigned int val = current->trace_recursion;
edc15caf Steven Rostedt 2012-11-02 517 int bit;
edc15caf Steven Rostedt 2012-11-02 518
edc15caf Steven Rostedt 2012-11-02 519 /* A previous recursion check was made */
:::::: The code at line 516 was first introduced by commit
:::::: edc15cafcbfa3d73f819cae99885a2e35e4cbce5 tracing: Avoid unnecessary multiple recursion checks
:::::: TO: Steven Rostedt <srostedt@...hat.com>
:::::: CC: Steven Rostedt <rostedt@...dmis.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/octet-stream" (24408 bytes)
Powered by blists - more mailing lists