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
17 Mar, 2011
1 commit
-
Replace EXTRA_CFLAGS with ccflags-y.
Signed-off-by: matt mooney
Acked-by: WANG Cong
Signed-off-by: Michal Marek
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
22 May, 2010
5 commits
-
Removes some out-of-date comments and empty lines.
Signed-off-by: Wu Zhangjin
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/1204/
Signed-off-by: Ralf Baechle -
The _EXL, _KERNEL etc. bits are in the performance control register so
use _PERFCTRL prefix instead of _PERFCNT. While at it make the macro
more readable, use _ENABLE instead of _INT_EN suffix to describe the
interrupt enable bit.Signed-off-by: Wu Zhangjin
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/1203/
Signed-off-by: Ralf Baechle -
Signed-off-by: Wu Zhangjin
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/1202/
Signed-off-by: Ralf Baechle -
Signed-off-by: Wu Zhangjin
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/1201/
Signed-off-by: Ralf Baechle -
Unified macro for counter0 and counter1 to set the event in the control
register. This will be needed by Perf.Signed-off-by: Wu Zhangjin
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/1200/
Signed-off-by: Ralf Baechle
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 useReported-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---
27 Feb, 2010
4 commits
-
Signed-off-by: Ralf Baechle
-
Signed-off-by: Ralf Baechle
-
Found by
$ find arch/mips/ -name "*.c" | xargs -i grep -H weak {} | grep -v __weak
[Ralf: Made this bulletproof by including ]
Signed-off-by: Wu Zhangjin
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/874/
Signed-off-by: Ralf Baechle -
Currently wuzj@lemote.com is not usable; change it to wuzhangjin@gmail.com.
Signed-off-by: Wu Zhangjin
Cc: linux-mips@linux-mips.org
Cc: yanh@lemote.com
Cc: huhb@lemote.com
Cc: zhangfx@lemote.com
Patchwork: http://patchwork.linux-mips.org/patch/829/
Signed-off-by: Ralf Baechle
17 Dec, 2009
1 commit
-
In Loongson2f IP6 is shared by bonito and perfcounters so we need to avoid
do_IRQ for perfcounter when the interrupt is from bonito.Signed-off-by: Wu Zhangjin
Cc: linux-mips@linux-mips.org
Signed-off-by: Ralf Baechle
02 Nov, 2009
1 commit
-
Unify the naming method between kernel and the user-space oprofile tool.
Because loongson is used instead of godson in most of the places, we agreed
to use loongson instead, which will simplify future maintenance.Signed-off-by: Wu Zhangjin
Acked-by: Robert Richter
Signed-off-by: Ralf Baechle
01 Oct, 2009
1 commit
-
Signed-off-by: Uwe Kleine-König
Cc: Yanhua
Cc: Robert Richter
Acked-by: Wu Zhangjin
Signed-off-by: Ralf Baechle
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
16 Oct, 2008
1 commit
-
Signed-off-by: Robert Richter
16 Jul, 2008
1 commit
-
fix more API change fallout in recently merged upstream changes.
Signed-off-by: Ingo Molnar
26 Jun, 2008
1 commit
-
It's not even passed on to smp_call_function() anymore, since that
was removed. So kill it.Acked-by: Jeremy Fitzhardinge
Reviewed-by: Paul E. McKenney
Signed-off-by: Jens Axboe
12 May, 2008
1 commit
-
This patch fixes a warning-as-error induced build failure of 64bit MIPS
kernels.Signed-off-by: Thiemo Seufer
Signed-off-by: Ralf Baechle
29 Apr, 2008
2 commits
-
This patch unexports the null_perf_irq() symbol, and simultaneously
makes this function static.Signed-off-by: Dmitri Vorobiev
Signed-off-by: Ralf Baechle -
Signed-off-by: Chris Dearman
Signed-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechle
29 Jan, 2008
1 commit
-
The latest draft version of the MIPS Architecture Specification extends the
6 bit event field by adding a directly adjacent 4-bit EventExt field for a
total of 10 bits.Signed-off-by: Ralf Baechle
07 Dec, 2007
1 commit
-
VSMP kernels will split the available performance counters between the two
processors / cores. But don't do this when we're not on a VSMP system ...Signed-off-by: Ralf Baechle
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
12 Oct, 2007
2 commits
-
Signed-off-by: Ralf Baechle
-
This saves a few k on systems which only ever ship with a single CPU type.
Signed-off-by: Ralf Baechle
01 Aug, 2007
1 commit
-
The new type of irq handler remove a parameter (struct pt_regs *),but
someone forgot to supply it.Signed-off-by: Dajie Tan
Signed-off-by: Ralf Baechle
15 Jun, 2007
1 commit
-
Support for performance counter overflow interrupt that is on a separate
interrupt from the timer.Signed-off-by: Chris Dearman
Signed-off-by: Ralf Baechle
25 Apr, 2007
1 commit
-
This did cause oprofile to fail on non-multithreaded systems with more
than 2 processors such as the BCM1480.Reported by Manish Lachwani (mlachwani@mvista.com).
Signed-off-by: Ralf Baechle
14 Mar, 2007
1 commit
-
Signed-off-by: Chris Dearman
Signed-off-by: Ralf Baechle
05 Mar, 2007
1 commit
-
This was causing oprofile to fail on R10000, R12000, R14000.
Signed-off-by: Ralf Baechle
21 Feb, 2007
1 commit
-
Signed-off-by: Ralf Baechle
07 Feb, 2007
1 commit
-
Oprofile cannot work on SMTC due to the limited number of counters.
Signed-off-by: Ralf Baechle
30 Nov, 2006
1 commit
-
Signed-off-by: Ralf Baechle
31 Oct, 2006
2 commits
-
Signed-off-by: Ralf Baechle
-
Signed-off-by: Ralf Baechle
20 Oct, 2006
2 commits
-
Signed-off-by: Ralf Baechle
-
Signed-off-by: Ralf Baechle