summaryrefslogtreecommitdiffstats
path: root/src/plugins/perfmon/intel/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/perfmon/intel/core.c')
-rw-r--r--src/plugins/perfmon/intel/core.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/perfmon/intel/core.c b/src/plugins/perfmon/intel/core.c
index c931c127f67..c59fce81735 100644
--- a/src/plugins/perfmon/intel/core.c
+++ b/src/plugins/perfmon/intel/core.c
@@ -57,6 +57,10 @@ format_intel_core_config (u8 *s, va_list *args)
if ((v = (config >> 24) & 0xff))
s = format (s, ", cmask=0x%02x", v);
+ /* show the raw config, for convenience sake */
+ if (!((config >> 16) & 0xffff))
+ s = format (s, ", raw=r%x", config & 0xffff);
+
return s;
}