From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [linux-next:master 5637/8469] kernel/trace/trace_events_hist.c:4729:12: warning: stack frame size of 1440 bytes in function 'hist_show'
Date: Mon, 29 Mar 2021 22:02:50 +0800 [thread overview]
Message-ID: <202103292245.enUsESDB-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3830 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 9d49ed9ca93b8c564033c1d6808017bc9052b5db
commit: 98898dfbdf722e64b6c092d16d217b8e88a01347 [5637/8469] Rust support
config: powerpc-randconfig-r023-20210329 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 2a28d1d3b7bf2062288b46af34e33ccc543a99fa)
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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=98898dfbdf722e64b6c092d16d217b8e88a01347
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 98898dfbdf722e64b6c092d16d217b8e88a01347
# 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 >>):
>> kernel/trace/trace_events_hist.c:4729:12: warning: stack frame size of 1440 bytes in function 'hist_show' [-Wframe-larger-than=]
static int hist_show(struct seq_file *m, void *v)
^
1 warning generated.
vim +/hist_show +4729 kernel/trace/trace_events_hist.c
52a7f16dedff8f Tom Zanussi 2016-03-03 4728
52a7f16dedff8f Tom Zanussi 2016-03-03 @4729 static int hist_show(struct seq_file *m, void *v)
52a7f16dedff8f Tom Zanussi 2016-03-03 4730 {
52a7f16dedff8f Tom Zanussi 2016-03-03 4731 struct event_trigger_data *data;
52a7f16dedff8f Tom Zanussi 2016-03-03 4732 struct trace_event_file *event_file;
52a7f16dedff8f Tom Zanussi 2016-03-03 4733 int n = 0, ret = 0;
52a7f16dedff8f Tom Zanussi 2016-03-03 4734
52a7f16dedff8f Tom Zanussi 2016-03-03 4735 mutex_lock(&event_mutex);
52a7f16dedff8f Tom Zanussi 2016-03-03 4736
52a7f16dedff8f Tom Zanussi 2016-03-03 4737 event_file = event_file_data(m->private);
52a7f16dedff8f Tom Zanussi 2016-03-03 4738 if (unlikely(!event_file)) {
52a7f16dedff8f Tom Zanussi 2016-03-03 4739 ret = -ENODEV;
52a7f16dedff8f Tom Zanussi 2016-03-03 4740 goto out_unlock;
52a7f16dedff8f Tom Zanussi 2016-03-03 4741 }
52a7f16dedff8f Tom Zanussi 2016-03-03 4742
aeed8aa3874dc1 Masami Hiramatsu 2019-12-20 4743 list_for_each_entry(data, &event_file->triggers, list) {
52a7f16dedff8f Tom Zanussi 2016-03-03 4744 if (data->cmd_ops->trigger_type == ETT_EVENT_HIST)
52a7f16dedff8f Tom Zanussi 2016-03-03 4745 hist_trigger_show(m, data, n++);
52a7f16dedff8f Tom Zanussi 2016-03-03 4746 }
52a7f16dedff8f Tom Zanussi 2016-03-03 4747
7ef224d1d0e3a1 Tom Zanussi 2016-03-03 4748 out_unlock:
7ef224d1d0e3a1 Tom Zanussi 2016-03-03 4749 mutex_unlock(&event_mutex);
7ef224d1d0e3a1 Tom Zanussi 2016-03-03 4750
7ef224d1d0e3a1 Tom Zanussi 2016-03-03 4751 return ret;
7ef224d1d0e3a1 Tom Zanussi 2016-03-03 4752 }
7ef224d1d0e3a1 Tom Zanussi 2016-03-03 4753
:::::: The code at line 4729 was first introduced by commit
:::::: 52a7f16dedff8f23d03df3ea556dec95b92a5801 tracing: Add support for multiple hist triggers per event
:::::: TO: Tom Zanussi <tom.zanussi@linux.intel.com>
:::::: CC: Steven Rostedt <rostedt@goodmis.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 42543 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Miguel Ojeda <ojeda@kernel.org>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
Linux Memory Management List <linux-mm@kvack.org>,
Alex Gaynor <alex.gaynor@gmail.com>,
Geoffrey Thomas <geofft@ldpreload.com>,
Finn Behrens <me@kloenk.de>,
Wedson Almeida Filho <wedsonaf@google.com>,
Adam Bratschi-Kaye <ark.email@gmail.com>
Subject: [linux-next:master 5637/8469] kernel/trace/trace_events_hist.c:4729:12: warning: stack frame size of 1440 bytes in function 'hist_show'
Date: Mon, 29 Mar 2021 22:02:50 +0800 [thread overview]
Message-ID: <202103292245.enUsESDB-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3762 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 9d49ed9ca93b8c564033c1d6808017bc9052b5db
commit: 98898dfbdf722e64b6c092d16d217b8e88a01347 [5637/8469] Rust support
config: powerpc-randconfig-r023-20210329 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 2a28d1d3b7bf2062288b46af34e33ccc543a99fa)
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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=98898dfbdf722e64b6c092d16d217b8e88a01347
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 98898dfbdf722e64b6c092d16d217b8e88a01347
# 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 >>):
>> kernel/trace/trace_events_hist.c:4729:12: warning: stack frame size of 1440 bytes in function 'hist_show' [-Wframe-larger-than=]
static int hist_show(struct seq_file *m, void *v)
^
1 warning generated.
vim +/hist_show +4729 kernel/trace/trace_events_hist.c
52a7f16dedff8f Tom Zanussi 2016-03-03 4728
52a7f16dedff8f Tom Zanussi 2016-03-03 @4729 static int hist_show(struct seq_file *m, void *v)
52a7f16dedff8f Tom Zanussi 2016-03-03 4730 {
52a7f16dedff8f Tom Zanussi 2016-03-03 4731 struct event_trigger_data *data;
52a7f16dedff8f Tom Zanussi 2016-03-03 4732 struct trace_event_file *event_file;
52a7f16dedff8f Tom Zanussi 2016-03-03 4733 int n = 0, ret = 0;
52a7f16dedff8f Tom Zanussi 2016-03-03 4734
52a7f16dedff8f Tom Zanussi 2016-03-03 4735 mutex_lock(&event_mutex);
52a7f16dedff8f Tom Zanussi 2016-03-03 4736
52a7f16dedff8f Tom Zanussi 2016-03-03 4737 event_file = event_file_data(m->private);
52a7f16dedff8f Tom Zanussi 2016-03-03 4738 if (unlikely(!event_file)) {
52a7f16dedff8f Tom Zanussi 2016-03-03 4739 ret = -ENODEV;
52a7f16dedff8f Tom Zanussi 2016-03-03 4740 goto out_unlock;
52a7f16dedff8f Tom Zanussi 2016-03-03 4741 }
52a7f16dedff8f Tom Zanussi 2016-03-03 4742
aeed8aa3874dc1 Masami Hiramatsu 2019-12-20 4743 list_for_each_entry(data, &event_file->triggers, list) {
52a7f16dedff8f Tom Zanussi 2016-03-03 4744 if (data->cmd_ops->trigger_type == ETT_EVENT_HIST)
52a7f16dedff8f Tom Zanussi 2016-03-03 4745 hist_trigger_show(m, data, n++);
52a7f16dedff8f Tom Zanussi 2016-03-03 4746 }
52a7f16dedff8f Tom Zanussi 2016-03-03 4747
7ef224d1d0e3a1 Tom Zanussi 2016-03-03 4748 out_unlock:
7ef224d1d0e3a1 Tom Zanussi 2016-03-03 4749 mutex_unlock(&event_mutex);
7ef224d1d0e3a1 Tom Zanussi 2016-03-03 4750
7ef224d1d0e3a1 Tom Zanussi 2016-03-03 4751 return ret;
7ef224d1d0e3a1 Tom Zanussi 2016-03-03 4752 }
7ef224d1d0e3a1 Tom Zanussi 2016-03-03 4753
:::::: The code at line 4729 was first introduced by commit
:::::: 52a7f16dedff8f23d03df3ea556dec95b92a5801 tracing: Add support for multiple hist triggers per event
:::::: TO: Tom Zanussi <tom.zanussi@linux.intel.com>
:::::: CC: Steven Rostedt <rostedt@goodmis.org>
---
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: 42543 bytes --]
next reply other threads:[~2021-03-29 14:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-29 14:02 kernel test robot [this message]
2021-03-29 14:02 ` [linux-next:master 5637/8469] kernel/trace/trace_events_hist.c:4729:12: warning: stack frame size of 1440 bytes in function 'hist_show' kernel test robot
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=202103292245.enUsESDB-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.