linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* kernel/trace/trace.h:516:28: error: 'struct task_struct' has no member named 'trace_recursion'
@ 2016-07-02  3:26 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2016-07-02  3:26 UTC (permalink / raw)
  Cc: kbuild-all, linux-kernel, Steven Rostedt, Tom Zanussi, Namhyung Kim

[-- Attachment #1: Type: text/plain, Size: 2453 bytes --]

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@redhat.com>
:::::: CC: Steven Rostedt <rostedt@goodmis.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 24408 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-07-02  3:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-02  3:26 kernel/trace/trace.h:516:28: error: 'struct task_struct' has no member named 'trace_recursion' kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).