cregit-Linux how code gets into the kernel

Release 4.15 kernel/irq/debug.h

Directory: kernel/irq
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Debugging printout:
 */

#include <linux/kallsyms.h>


#define ___P(f) if (desc->status_use_accessors & f) printk("%14s set\n", #f)

#define ___PS(f) if (desc->istate & f) printk("%14s set\n", #f)
/* FIXME */

#define ___PD(f) do { } while (0)


static inline void print_irq_desc(unsigned int irq, struct irq_desc *desc) { static DEFINE_RATELIMIT_STATE(ratelimit, 5 * HZ, 5); if (!__ratelimit(&ratelimit)) return; printk("irq %d, desc: %p, depth: %d, count: %d, unhandled: %d\n", irq, desc, desc->depth, desc->irq_count, desc->irqs_unhandled); printk("->handle_irq(): %p, ", desc->handle_irq); print_symbol("%s\n", (unsigned long)desc->handle_irq); printk("->irq_data.chip(): %p, ", desc->irq_data.chip); print_symbol("%s\n", (unsigned long)desc->irq_data.chip); printk("->action(): %p\n", desc->action); if (desc->action) { printk("->action->handler(): %p, ", desc->action->handler); print_symbol("%s\n", (unsigned long)desc->action->handler); } ___P(IRQ_LEVEL); ___P(IRQ_PER_CPU); ___P(IRQ_NOPROBE); ___P(IRQ_NOREQUEST); ___P(IRQ_NOTHREAD); ___P(IRQ_NOAUTOEN); ___PS(IRQS_AUTODETECT); ___PS(IRQS_REPLAY); ___PS(IRQS_WAITING); ___PS(IRQS_PENDING); ___PD(IRQS_INPROGRESS); ___PD(IRQS_DISABLED); ___PD(IRQS_MASKED); }

Contributors

PersonTokensPropCommitsCommitProp
Thomas Gleixner17681.86%240.00%
Guenter Roeck2210.23%120.00%
Paul Gortmaker136.05%120.00%
Paul Mundt41.86%120.00%
Total215100.00%5100.00%

#undef ___P #undef ___PS #undef ___PD

Overall Contributors

PersonTokensPropCommitsCommitProp
Thomas Gleixner20581.67%342.86%
Guenter Roeck228.76%114.29%
Paul Gortmaker197.57%114.29%
Paul Mundt41.59%114.29%
Greg Kroah-Hartman10.40%114.29%
Total251100.00%7100.00%
Directory: kernel/irq
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.