lkml.org 
[lkml]   [2011]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 4/5] oprofile: Remove exit function for timer mode

* Robert Richter <robert.richter@amd.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


\
 
 \ /
  Last update: 2011-10-18 08:17    [W:0.274 / U:0.524 seconds]
©2003-2014 Jasper Spaans. Advertise on this site