lkml.org 
[lkml]   [2004]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [mm patch] oprofile: backtrace operation does not initialized
    Date
    On Wednesday 08 December 2004 20:13, Ingo Molnar wrote:
    > * Akinobu Mita <amgta@yacht.ocn.ne.jp> wrote:
    > > - profile_hit(SCHED_PROFILING, __builtin_return_address(0));
    > > + if (timer_hook) {
    > > + struct pt_regs regs;
    > > +
    > > + GET_CURRENT_REGS(regs);
    > > + timer_hook(&regs);
    > > + }
    >
    > ugh. nack.
    >

    This second patch is not intended for inclusion.
    It's my own tailor-made profiler. Actually it breaks all architectures
    except for i386 with CONFIG_PROFILING.

    It just demonstrates why I want to apply the first patch.
    It fixes specifying "timer=1" as oprofile module parameter avoids to
    set oprofile_operations.backtrace.



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

    \
     
     \ /
      Last update: 2005-03-22 14:08    [W:0.021 / U:63.152 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site