I am still poking around this area too.

This points to the "edge" meaning the type of irq is an "edge falling" irq: https://www.raspberrypi.org/forums/viewtopic.php?t=20931

Looking at mine, I have "18 edge" and that ties in with the GPIO-18 I expect the interrupt to come in on in my case :

       CPU0      CPU1   CPU2  CPU3
172:   1387      0      0     0     pinctrl-bcm2835  18 Edge      lirc_rpi
Answer from irdroid3 on serverfault.com
🌐
Hitchhikersguidetolearning
hitchhikersguidetolearning.com › 2021 › 03 › 28 › looking-at-proc-interrupts
Looking at /proc/interrupts | Hitch Hiker's Guide to Learning
The output of “/proc/interrupts” shows all the different interrupts that have handlers (Interrupt Service Routines – ISRs) registered for them. The first column indicates the IRQ number. Subsequent columns indicate how many interrupts have been generated for the IRQ number on different ...
🌐
Alibaba Cloud Community
alibabacloud.com › blog › understanding-cpu-interrupts-in-linux_597128
Understanding CPU Interrupts in Linux - Alibaba Cloud Community
January 11, 2021 - System processing interrupts are recorded in the /proc/interrupts file. This file is large by default and difficult to read. If there are many CPU cores, the reading experience is greatly compromised.
🌐
Clever Uptime
cleveruptime.com › docs › files › proc-interrupts
/proc/interrupts: Explanation & Insights - CleverUptime
Each row corresponds to an interrupt number (IRQ), and each column represents a CPU in the system. The values in the table represent the number of interrupts that each CPU has processed.
🌐
Linux Kernel
kernel.org › doc › html › v6.5 › filesystems › proc.html
The /proc Filesystem — The Linux Kernel documentation
You can, for example, check which interrupts are currently in use and what they are used for by looking in the file /proc/interrupts: > cat /proc/interrupts CPU0 0: 8728810 XT-PIC timer 1: 895 XT-PIC keyboard 2: 0 XT-PIC cascade 3: 531695 XT-PIC aha152x 4: 2014133 XT-PIC serial 5: 44401 XT-PIC ...
🌐
Linux Kernel Labs
linux-kernel-labs.github.io › refs › heads › master › labs › interrupts.html
I/O access and Interrupts — The Linux Kernel documentation
Only system interrupts with associated interrupt handlers appear in /proc/interrupts: # cat /proc/interrupts CPU0 0: 7514294 IO-APIC-edge timer 1: 4528 IO-APIC-edge i8042 6: 2 IO-APIC-edge floppy 8: 1 IO-APIC-edge rtc 9: 0 IO-APIC-level acpi 12: 2301 IO-APIC-edge i8042 15: 41 IO-APIC-edge ide1 ...
🌐
The Geek Stuff
thegeekstuff.com › 2014 › 01 › linux-interrupts
Introduction to Linux Interrupts and CPU SMP Affinity
January 27, 2014 - On a Linux machine, the file /proc/interrupts contains information about the interrupts in use and how many times processor has been interrupted · # cat /proc/interrupts CPU0 CPU1 CPU2 CPU3 0: 3710374484 0 0 0 IO-APIC-edge timer 1: 20 0 0 0 IO-APIC-edge i8042 6: 5 0 0 0 IO-APIC-edge floppy ...
Find elsewhere
🌐
Linux Man Pages
man7.org › linux › man-pages › man5 › proc_interrupts.5.html
proc_interrupts(5) - Linux manual page
/proc/interrupts This is used to record the number of interrupts per CPU per IO device. Since Linux 2.6.24, for the i386 and x86-64 architectures, at least, this also includes interrupts internal to the system (that is, not associated with a device as such), such as NMI (nonmaskable interrupt), ...
🌐
LinuxWiki
linuxwiki.de › proc › interrupts
proc/interrupts - LinuxWiki.org - Linux Wiki und Freie Software
wmlws:/proc# cat interrupts CPU0 0: 44668308 XT-PIC timer 1: 4088 XT-PIC keyboard 2: 0 XT-PIC cascade 5: 717985 XT-PIC soundblaster 8: 6 XT-PIC rtc 9: 70135 XT-PIC usb-uhci, eth2 10: 68281 XT-PIC eth1 11: 3140753 XT-PIC eth0 14: 4911852 XT-PIC ide0 15: 956757 XT-PIC ide1 NMI: 0 LOC: 44667125 ...
🌐
Red Hat
access.redhat.com › documentation › en-us › red_hat_enterprise_linux › 4 › html › reference_guide › s2-proc-interrupts
5.2.11. /proc/interrupts | Reference Guide | Red Hat Enterprise Linux | 4 | Red Hat Documentation
This kind of interrupt, as well as the IO-APIC-level interrupt, are only seen on systems with processors from the 586 family and higher. IO-APIC-level — Generates interrupts when its voltage signal is high until the signal is low again. Format · Multi-page · Single-page · View full doc as PDF · Github · Youtube · Twitter · Developer resources · Cloud learning hub · Interactive labs · Training and certification · Customer support · See all documentation · Product trial center · Red Hat Ecosystem Catalog ·
🌐
Linux Kernel
kernel.org › doc › Documentation › filesystems › proc.txt
proc file system documentation
You can, for example, check which interrupts are currently in use and what they are used for by looking in the file /proc/interrupts: > cat /proc/interrupts CPU0 0: 8728810 XT-PIC timer 1: 895 XT-PIC keyboard 2: 0 XT-PIC cascade 3: 531695 XT-PIC aha152x 4: 2014133 XT-PIC serial 5: 44401 XT-PIC ...
🌐
YouTube
youtube.com › watch
Understanding /proc/interrupts - YouTube
More videos like this online at http://www.theurbanpenguin.comSome devices such as the keyboard and parallel port are wired direct through to the CPU and use...
Published   May 23, 2013
🌐
Red Hat
docs.redhat.com › en › documentation › red_hat_enterprise_linux_for_real_time › 7 › html › reference_guide › chap-hardware_interrupts
Chapter 3. Hardware Interrupts | Reference Guide | Red Hat Enterprise Linux for Real Time | 7 | Red Hat Documentation
~]$ cat /proc/interrupts CPU0 CPU1 0: 13072311 0 IO-APIC-edge timer 1: 18351 0 IO-APIC-edge i8042 8: 190 0 IO-APIC-edge rtc0 9: 118508 5415 IO-APIC-fasteoi acpi 12: 747529 86120 IO-APIC-edge i8042 14: 1163648 0 IO-APIC-edge ata_piix 15: 0 0 IO-APIC-edge ata_piix 16: 12681226 126932 IO-APIC-fasteoi ahci, uhci_hcd:usb2, radeon, yenta, eth0 17: 3717841 0 IO-APIC-fasteoi uhci_hcd:usb3, HDA, iwl3945 18: 0 0 IO-APIC-fasteoi uhci_hcd:usb4 19: 577 68 IO-APIC-fasteoi ehci_hcd:usb1, uhci_hcd:usb5 NMI: 0 0 Non-maskable interrupts LOC: 3755270 9388684 Local timer interrupts RES: 1184857 2497600 Rescheduling interrupts CAL: 12471 2914 function call interrupts TLB: 14555 15567 TLB shootdowns TRM: 0 0 Thermal event interrupts SPU: 0 0 Spurious interrupts ERR: 0 MIS: 0
🌐
Red Hat
docs.redhat.com › en › documentation › red_hat_enterprise_linux › 5 › html › deployment_guide › s2-proc-interrupts
5.2.11. /proc/interrupts | Deployment Guide | Red Hat Enterprise Linux | 5 | Red Hat Documentation
This kind of interrupt, as well as the IO-APIC-level interrupt, are only seen on systems with processors from the 586 family and higher. IO-APIC-level — Generates interrupts when its voltage signal is high until the signal is low again. Format · Multi-page · Single-page · View full doc as PDF · Github · Youtube · Twitter · Developer resources · Cloud learning hub · Interactive labs · Training and certification · Customer support · See all documentation · Product trial center · Red Hat Ecosystem Catalog ·
Top answer
1 of 2
8

As you can see in the source of the kernel, it displays all possible irqs of the system.
In source/fs/proc/interrupts.c:39 a sequence operation is initialized to return as many elements as interrupts exist in the system for /proc/interrupts.

In source/kernel/irq/proc.c:479 we can see that the counters of every interrupt gets extracted from global counters via kstat_irqs_cpu(irq, cpu).
This means the interrupt count information gets updated in different counters, one for each cpu. The counters get summed upon reading the proc file. This is a common pattern in the kernel. It prevents contention on a global counter.

More onfo about per-cpu variables you can read here. More about interrupts in linux you can get here.

2 of 2
5

All files under /proc are pseudo files , which means there is no actual data present in them.

When you access any file under proc fs , proc methods linked with that particular proc file is invoked , and the proc methods , access certain related kernel data structures and generate data dynamically , which can be read and displayed. Data from proc file is generally used to display status information of the system , or the state of a device driver.

The proc fs is generally implemented as part of the driver , by adding the proc and the seq fs layer to the driver code , however proc is also used by the kernel , to display status information of the system in general.Since there is no general hierarchy or classification among the proc files , they are used rarely in comparison with the newer sysfs file system.

To know how the information is generated , you must study the proc layer implemented in fs/proc/interrupts.c

This website briefly explains some of those methods.