aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/util/symbol.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2020-08-18 10:00:13 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2020-08-21 10:22:23 -0300
commit783abbd444926f0d94039c4cf5e5ca1d07496bce (patch)
tree0133b4dae3fc03c65cb26aa29fea2677e76288c6 /tools/perf/util/symbol.c
parentperf top: Skip side-band event setup if HAVE_LIBBPF_SUPPORT is not set (diff)
downloadwireguard-linux-783abbd444926f0d94039c4cf5e5ca1d07496bce.tar.xz
wireguard-linux-783abbd444926f0d94039c4cf5e5ca1d07496bce.zip
perf symbols: Add mwait_idle_with_hints.constprop.0 to the list of idle symbols
The "mwait_idle_with_hints" one was already there, some compiler artifact now adds this ".constprop.0" suffix, cover that one too. At some point we need to put these in a special bucket and show it somewhere on the screen. Noticed building the kernel on a fedora:32 system using: gcc version 10.2.1 20200723 (Red Hat 10.2.1-1) (GCC) Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/symbol.c')
-rw-r--r--tools/perf/util/symbol.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c
index 1f5fcb828a21..5151a8c0b791 100644
--- a/tools/perf/util/symbol.c
+++ b/tools/perf/util/symbol.c
@@ -663,6 +663,7 @@ static bool symbol__is_idle(const char *name)
"exit_idle",
"mwait_idle",
"mwait_idle_with_hints",
+ "mwait_idle_with_hints.constprop.0",
"poll_idle",
"ppc64_runlatch_off",
"pseries_dedicated_idle_sleep",