in perfrunbook/utilities/measure_and_plot_basic_sysstat_stats.py [0:0]
def plot_specific_irq(buf, stat):
"""
Plot a specific IRQ source
"""
import json
irqs = json.load(buf)
# IPI0 - rescheduling interrupt
# IPI1 - Function call interrupt
# RES - rescheduling interrupt x86
# CAL - function call interrupt x86
from mpstat_parse import parse_mpstat_json_single_irq
df = parse_mpstat_json_single_irq(irqs, stat)
calc_stats_and_plot(df, stat)