Re: [PATCH v2 2/2] perf: add new option '--workload-attr' to set workload sched_policy/priority/mask

From: kernel test robot
Date: Tue Jul 25 2023 - 02:05:17 EST


Hi Changbin,

kernel test robot noticed the following build warnings:

[auto build test WARNING on acme/perf/core]
[also build test WARNING on tip/perf/core tip/master linus/master v6.5-rc2 next-20230721]
[cannot apply to tip/auto-latest]
[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/Changbin-Du/perf-cpumap-Add-__perf_cpu_map__new-and-perf_cpu_map__2_cpuset/20230718-192933
base: https://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git perf/core
patch link: https://lore.kernel.org/r/20230717120003.2391329-3-changbin.du%40huawei.com
patch subject: [PATCH v2 2/2] perf: add new option '--workload-attr' to set workload sched_policy/priority/mask
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0

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 <yujie.liu@xxxxxxxxx>
| Closes: https://lore.kernel.org/r/202307221757.XGfZBmn4-lkp@xxxxxxxxx/

includecheck warnings: (new ones prefixed by >>)
>> tools/perf/util/evlist.c: perf/cpumap.h is included more than once.

vim +60 tools/perf/util/evlist.c

50
51 #include <linux/bitops.h>
52 #include <linux/hash.h>
53 #include <linux/log2.h>
54 #include <linux/err.h>
55 #include <linux/string.h>
56 #include <linux/time64.h>
57 #include <linux/zalloc.h>
58 #include <perf/evlist.h>
59 #include <perf/evsel.h>
> 60 #include <perf/cpumap.h>
61 #include <perf/mmap.h>
> 62 #include <perf/cpumap.h>
63

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