Re: [PATCH v5 2/4] preemptirq_delay_test: Add the burst feature and a sysfs trigger

From: Steven Rostedt
Date: Wed Sep 04 2019 - 07:42:45 EST


On Tue, 3 Sep 2019 15:26:00 +0200
Viktor Rosendahl <viktor.rosendahl@xxxxxxxxx> wrote:
> diff --git a/kernel/trace/preemptirq_delay_test.c b/kernel/trace/preemptirq_delay_test.c
> index d8765c952fab..dc281fa75198 100644
> --- a/kernel/trace/preemptirq_delay_test.c
> +++ b/kernel/trace/preemptirq_delay_test.c
> @@ -3,6 +3,7 @@
> * Preempt / IRQ disable delay thread to test latency tracers
> *
> * Copyright (C) 2018 Joel Fernandes (Google) <joel@xxxxxxxxxxxxxxxxx>
> + * Copyright (C) 2018, 2019 BMW Car IT GmbH

A name and what you did should also be attached here. Ideally, we leave
these out as git history is usually enough.

-- Steve

> */
>
> #include <linux/trace_clock.h>
> @@ -10,18 +11,25 @@
> #include <linux/interrupt.h>
> #include <linux/irq.h>
> #include <linux/kernel.h>
> +#include <linux/kobject.h>
> #include <linux/kthread.h>
> #include <linux/module.h>
> #include <linux/printk.h>
> #include <linux/string.h>
> +#include <linux/sysfs.h>
>
>