From 246fc4491c943b4f2723bf711eadd48c8e4f4045 Mon Sep 17 00:00:00 2001 From: Bjoern Brandenburg Date: Sun, 9 Aug 2015 13:18:45 +0200 Subject: Integrate ft_irq_fired() with Linux This patch hooks up Feather-Trace's ft_irq_fired() handler with Linux's interrupt handling infrastructure. --- include/litmus/trace_irq.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 include/litmus/trace_irq.h (limited to 'include/litmus') diff --git a/include/litmus/trace_irq.h b/include/litmus/trace_irq.h new file mode 100644 index 000000000000..0d0c042ba9c3 --- /dev/null +++ b/include/litmus/trace_irq.h @@ -0,0 +1,14 @@ +#ifndef _LITMUS_TRACE_IRQ_H_ +#define _LITMUS_TRACE_IRQ_H_ + +#ifdef CONFIG_SCHED_OVERHEAD_TRACE + +void ft_irq_fired(void); + +#else + +#define ft_irq_fired() /* nothing to do */ + +#endif + +#endif -- cgit v1.2.2