lkml.org 
[lkml]   [2016]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v4] genirq: Machine-parsable version of /proc/interrupts
On Fri, 9 Sep 2016, Craig Gallek wrote:
> +What: /sys/kernel/irq/<irq>/per_cpu_count
> +Date: September 2016
> +KernelVersion: 4.9
> +Contact: Craig Gallek <kraig@google.com>
> +Description: The number of times the interrupt has fired since boot. This
> + is a comma-separated list of counters; one per online CPU in
> + CPU id order. NOTE: If the set of online CPUs changes, the
> + counter positions in this list will also change and counters
> + for offline CPUs will not be available.

More thoughts:

We could easily print all possible cpus here instead of restricting it to
online cpus. The per cpu counters are still available.

That way you can even observe the affinity change after a online or offline
and a tool which is interrested in more than the sum wouldn't have to cope
with changing positions.

Thanks,

tglx

\
 
 \ /
  Last update: 2016-09-17 09:59    [W:0.093 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site