tree:
https://github.com/ojeda/linux.git rust-printk
head: eba4842a424c186b12e3e52d602738e503a30222
commit: 7c6155bc5ecf03cd24eb82ed6d2b6b5269cf750c [72/140] Use `rustc` directly instead of
`cargo`
config: powerpc64-randconfig-r024-20210317 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
8ef111222a3dd12a9175f69c3bff598c46e8bdf7)
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 powerpc64 cross compiling tool for clang build
# apt-get install binutils-powerpc64-linux-gnu
#
https://github.com/ojeda/linux/commit/7c6155bc5ecf03cd24eb82ed6d2b6b5269c...
git remote add ojeda-linux
https://github.com/ojeda/linux.git
git fetch --no-tags ojeda-linux rust-printk
git checkout 7c6155bc5ecf03cd24eb82ed6d2b6b5269cf750c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> kernel/trace/trace_events_hist.c:4729:12: warning: stack frame
size of 1824 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
52a7f16dedff8f2 Tom Zanussi 2016-03-03 4728
52a7f16dedff8f2 Tom Zanussi 2016-03-03 @4729 static int hist_show(struct seq_file
*m, void *v)
52a7f16dedff8f2 Tom Zanussi 2016-03-03 4730 {
52a7f16dedff8f2 Tom Zanussi 2016-03-03 4731 struct event_trigger_data *data;
52a7f16dedff8f2 Tom Zanussi 2016-03-03 4732 struct trace_event_file *event_file;
52a7f16dedff8f2 Tom Zanussi 2016-03-03 4733 int n = 0, ret = 0;
52a7f16dedff8f2 Tom Zanussi 2016-03-03 4734
52a7f16dedff8f2 Tom Zanussi 2016-03-03 4735 mutex_lock(&event_mutex);
52a7f16dedff8f2 Tom Zanussi 2016-03-03 4736
52a7f16dedff8f2 Tom Zanussi 2016-03-03 4737 event_file =
event_file_data(m->private);
52a7f16dedff8f2 Tom Zanussi 2016-03-03 4738 if (unlikely(!event_file)) {
52a7f16dedff8f2 Tom Zanussi 2016-03-03 4739 ret = -ENODEV;
52a7f16dedff8f2 Tom Zanussi 2016-03-03 4740 goto out_unlock;
52a7f16dedff8f2 Tom Zanussi 2016-03-03 4741 }
52a7f16dedff8f2 Tom Zanussi 2016-03-03 4742
aeed8aa3874dc15 Masami Hiramatsu 2019-12-20 4743 list_for_each_entry(data,
&event_file->triggers, list) {
52a7f16dedff8f2 Tom Zanussi 2016-03-03 4744 if (data->cmd_ops->trigger_type
== ETT_EVENT_HIST)
52a7f16dedff8f2 Tom Zanussi 2016-03-03 4745 hist_trigger_show(m, data, n++);
52a7f16dedff8f2 Tom Zanussi 2016-03-03 4746 }
52a7f16dedff8f2 Tom Zanussi 2016-03-03 4747
7ef224d1d0e3a1a Tom Zanussi 2016-03-03 4748 out_unlock:
7ef224d1d0e3a1a Tom Zanussi 2016-03-03 4749 mutex_unlock(&event_mutex);
7ef224d1d0e3a1a Tom Zanussi 2016-03-03 4750
7ef224d1d0e3a1a Tom Zanussi 2016-03-03 4751 return ret;
7ef224d1d0e3a1a Tom Zanussi 2016-03-03 4752 }
7ef224d1d0e3a1a 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(a)linux.intel.com>
:::::: CC: Steven Rostedt <rostedt(a)goodmis.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org