arch: x86: add irq runtime statistics
Unlike tracing module mainly for debug usage, this is to allow runtime profiling IRQ performance data, and target to enable it in product release since platform can choose to make it work with low weight protocol. Enable this option and implement runtime_irq_stats() in platform code, such as Intel ISH platform implement with SHMI protocol to allow host profiling irq stats. Signed-off-by: Qipeng Zha <qipeng.zha@intel.com>
This commit is contained in:
parent
f5830f3c3f
commit
d963767369
2 changed files with 17 additions and 0 deletions
|
@ -185,4 +185,11 @@ config X86_MFENCE_INSTRUCTION_SUPPORTED
|
|||
Set n to disable the use of MFENCE instruction in arch_dcache_flush()
|
||||
for X86 CPUs have CLFLUSH instruction but no MFENCE
|
||||
|
||||
config X86_RUNTIME_IRQ_STATS
|
||||
bool
|
||||
help
|
||||
Add irq runtime statistics to allow runtime profiling irq performance
|
||||
data with Host tools, enable this and implement platform dependent API
|
||||
runtime_irq_stats().
|
||||
|
||||
endif # !X86_64
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue