[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111018061346.GD16304@elte.hu>
Date: Tue, 18 Oct 2011 08:13:47 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Robert Richter <robert.richter@....com>
Cc: LKML <linux-kernel@...r.kernel.org>,
oprofile-list <oprofile-list@...ts.sourceforge.net>
Subject: Re: [PATCH 4/5] oprofile: Remove exit function for timer mode
* Robert Richter <robert.richter@....com> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists