15 Jun, 2011

1 commit

  • Stack unwinding is done by code examination. For kernelspace, the
    already existing unwind function is utilized that uses kallsyms to
    quickly find the beginning of functions. For userspace a new function
    was added that examines code at and before the pc.

    Signed-off-by: Daniel Kalmar
    Signed-off-by: Gergely Kis
    Signed-off-by: Robert Richter

    Daniel Kalmar
     

17 Mar, 2011

1 commit


06 Jul, 2010

1 commit

  • When exiting from loongson2_exit(), we need to reset the counter
    register too, this patch adds a function reset_counters() to do it, by
    the way, this function will be shared by Perf.

    Signed-off-by: Wu Zhangjin
    Cc: linux-mips@linux-mips.org
    Patchwork: http://patchwork.linux-mips.org/patch/1199/
    Signed-off-by: Ralf Baechle

    Wu Zhangjin
     

22 May, 2010

5 commits


16 May, 2010

1 commit

  • The interrupt enable bit for the performance counters is in the Control
    Register $24, not in the counter register.
    loongson2_perfcount_handler(), we need to use

    Reported-by: Xu Hengyang
    Signed-off-by: Wu Zhangjin
    Cc: linux-mips@linux-mips.org
    Patchwork: http://patchwork.linux-mips.org/patch/1198/
    Signed-off-by: Ralf Baechle

    ---

    Wu Zhangjin
     

27 Feb, 2010

4 commits


17 Dec, 2009

1 commit


02 Nov, 2009

1 commit


01 Oct, 2009

1 commit


18 Sep, 2009

1 commit

  • This kernel support is needed by the user-space tool:oprofile to profile
    linux kernel or applications via loongson2 performance counters. you can
    enable this driver via CONFIG_OPROFILE = y or m.

    On Loongson2 there are two performance counters, each one can count 16
    events respectively. when anyone of the performance counter overflows, an
    interrupt will be generated and is routed to the IRQ MIPS_CPU_IRQ_BASE + 6.

    Signed-off-by: Yanhua
    Signed-off-by: Wu Zhangjin
    Signed-off-by: Ralf Baechle

    Wu Zhangjin
     

16 Oct, 2008

1 commit


16 Jul, 2008

1 commit


26 Jun, 2008

1 commit


12 May, 2008

1 commit


29 Apr, 2008

2 commits


29 Jan, 2008

1 commit


07 Dec, 2007

1 commit


20 Oct, 2007

1 commit

  • Quoting Randy:

    "It seems sad that this patch sources Kconfig.marker, a 7-line file,
    20-something times. Yes, you (we) don't want to put those 7 lines into
    20-something different files, so sourcing is the right thing.

    However, what you did for avr32 seems more on the right track to me: make
    _one_ Instrumentation support menu that includes PROFILING, OPROFILE, KPROBES,
    and MARKERS and then use (source) that in all of the arches."

    Signed-off-by: Mathieu Desnoyers
    Acked-by: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Mathieu Desnoyers
     

12 Oct, 2007

2 commits


01 Aug, 2007

1 commit


15 Jun, 2007

1 commit


25 Apr, 2007

1 commit


14 Mar, 2007

1 commit


05 Mar, 2007

1 commit


21 Feb, 2007

1 commit


07 Feb, 2007

1 commit


30 Nov, 2006

1 commit


31 Oct, 2006

2 commits


20 Oct, 2006

2 commits