For eaxmple:
This is module. There is array for saving irq history.<drivers/###/a.c>
int irq_number[1024];I add the bpf program into generic_handle_irq function in kernel.<kernel/irq/irqdesc.c>
int generic_handle_irq(unsigned int irq)When I access the parameter of generic_handle_irq using kprobe bpf,Can I save the irq value into module variable(irq_number)?Is it possible?