summaryrefslogtreecommitdiffstats
path: root/arch/sparc/oprofile
Commit message (Collapse)AuthorAgeFilesLines
* sparc: using HZ needs an include of linux/param.hStephen Rothwell2009-10-051-0/+1
| | | | | Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc64: Kill unnecessary cast in profile_timer_exceptions_notify().David S. Miller2009-09-081-1/+1
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc64: Manage NMI watchdog enabling like x86.David S. Miller2009-09-081-1/+1
| | | | | | | | Use a per-cpu 'wd_enabled' boolean and a global atomic_t count of watchdog NMI enabled cpus which is set to '-1' if something is wrong with the watchdog and it can't be used. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc64: Implement NMI watchdog on capable cpus.David S. Miller2009-01-301-94/+34
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc64: Move generic PCR support code to seperate file.David S. Miller2009-01-281-107/+3
| | | | | | | It all lives in the oprofile support code currently and we will need to share this stuff with NMI watchdog and perf_counter support. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc64: Provide oprofile pseudo-NMI on Niagara.David S. Miller2008-12-041-16/+135
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc64: Use NMI oprofile profiling on cheetah and derivative cpus.David S. Miller2008-12-041-1/+109
| | | | | | | | | | We use clock cycle counter, adjusted to HZ. This can be extended to sun4v based processors as well, as they also have a proper overflow interrupt facility for the performance counters. Signed-off-by: David S. Miller <davem@davemloft.net>
* oprofile: more whitespace fixesRobert Richter2008-10-151-1/+1
| | | | Signed-off-by: Robert Richter <robert.richter@amd.com>
* Combine instrumentation menus in kernel/Kconfig.instrumentationMathieu Desnoyers2007-10-191-17/+0
| | | | | | | | | | | | | | | | | 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 <mathieu.desnoyers@polymtl.ca> Acked-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* [SPARC]: Add sparc profiling supportMartin Habets2006-10-173-0/+49
This patch adds profiling support to the sparc architecture. It is a copy of the sparc64 implementation. Signed-off-by: Martin Habets <errandir_news@mph.eclipse.co.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
OpenPOWER on IntegriCloud