Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
perfmon: add cli to show perf config
[vpp.git]
/
src
/
plugins
/
perfmon
/
intel
/
core.c
diff --git
a/src/plugins/perfmon/intel/core.c
b/src/plugins/perfmon/intel/core.c
index
c931c12
..
c59fce8
100644
(file)
--- 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;
}