/* * Code for supporting irq vector tracepoints. * * Copyright (C) 2013 Seiji Aguchi * */ #include #include #include #include DEFINE_STATIC_KEY_FALSE(trace_irqvectors_key); int trace_irq_vector_regfunc(void) { static_branch_inc(&trace_irqvectors_key); return 0; } void trace_irq_vector_unregfunc(void) { static_branch_dec(&trace_irqvectors_key); }