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.024 / U:0.060 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site