Re: [PATCH 12/16] tracing: tracepoints for softirq entry/exit - add softirq-to-name array

Andrew Morton
2009-03-13T04:18:57Z

On Thu, 12 Mar 2009 22:37:16 -0400 Steven Rostedt <rostedt@goodmis.org> wrote:

> +char *softirq_to_name[NR_SOFTIRQS] = {
> + "HI_SOFTIRQ", "TIMER_SOFTIRQ", "NET_TX_SOFTIRQ", "NET_RX_SOFTIRQ",
> + "BLOCK_SOFTIRQ", "TASKLET_SOFTIRQ", "SCHED_SOFTIRQ", "HRTIMER_SOFTIRQ",
> + "RCU_SOFTIRQ"
> +};

"HI", "TIMER", "NET_TX", "NET_RX",
"BLOCK", "TASKLET", "SCHED", "HRTIMER",
"RCU"

would suffice.