Re: [PATCH 4/5] oprofile: Remove exit function for timer mode

From: Ingo Molnar
Date: Tue Oct 18 2011 - 02:15:21 EST



* Robert Richter <robert.richter@xxxxxxx> wrote:

> /* failed */
> - if (timer_mode)
> - oprofile_timer_exit();
> - else
> + if (!timer_mode)
> oprofile_arch_exit();

> - if (timer_mode)
> - oprofile_timer_exit();
> - else
> + if (!timer_mode)
> oprofile_arch_exit();

... and the ugliness didnt improve much here either.

Any reason why oprofile_arch_exit() couldnt check timer_mode?

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/