Re: [PATCH v2 13/16] perf intel-tpebs: Use stats for retirement latency statistics

From: kernel test robot
Date: Mon Apr 07 2025 - 16:40:51 EST


Hi Ian,

kernel test robot noticed the following build warnings:

[auto build test WARNING on perf-tools-next/perf-tools-next]
[also build test WARNING on perf-tools/perf-tools linus/master v6.15-rc1 next-20250407]
[cannot apply to tip/perf/core acme/perf/core]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Ian-Rogers/perf-intel-tpebs-Cleanup-header/20250407-130741
base: https://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools-next.git perf-tools-next
patch link: https://lore.kernel.org/r/20250407050101.1389825-14-irogers%40google.com
patch subject: [PATCH v2 13/16] perf intel-tpebs: Use stats for retirement latency statistics
compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202504080043.E3FPjBvv-lkp@xxxxxxxxx/

includecheck warnings: (new ones prefixed by >>)
>> tools/perf/util/intel-tpebs.c: stat.h is included more than once.

vim +21 tools/perf/util/intel-tpebs.c

> 21 #include "stat.h"
22 #include "tool.h"
23 #include "cpumap.h"
24 #include "metricgroup.h"
> 25 #include "stat.h"
> 26 #include <sys/stat.h>
27 #include <sys/file.h>
28 #include <poll.h>
29 #include <math.h>
30

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki