From: kbuild test robot <fengguang.wu@intel.com>
To: unlisted-recipients:; (no To-header on input)
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
Steven Rostedt <rostedt@goodmis.org>,
Tom Zanussi <tom.zanussi@linux.intel.com>,
Namhyung Kim <namhyung@kernel.org>
Subject: kernel/trace/trace.h:516:28: error: 'struct task_struct' has no member named 'trace_recursion'
Date: Sat, 2 Jul 2016 11:26:28 +0800 [thread overview]
Message-ID: <201607021125.j7PxIkHz%fengguang.wu@intel.com> (raw)
[-- 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 --]
reply other threads:[~2016-07-02 3:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201607021125.j7PxIkHz%fengguang.wu@intel.com \
--to=fengguang.wu@intel.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=namhyung@kernel.org \
--cc=rostedt@goodmis.org \
--cc=tom.zanussi@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).