summaryrefslogtreecommitdiffstats
path: root/arch/sparc/oprofile/init.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* sparc/oprofile: Convert timer_stop() to use synchronize_rcu()Paul E. McKenney2018-11-091-1/+1
| | | | | | | | | | | | | Now that synchronize_rcu() waits for preempt-disable regions of code in addition to explicitly marked RCU read-side critical sections, synchronize_rcu() can be used in place of synchronize_sched(). This commit therefore makes that change. Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com> Cc: Robert Richter <rric@kernel.org> Cc: "David S. Miller" <davem@davemloft.net> Cc: <oprofile-list@lists.sf.net> Cc: <sparclinux@vger.kernel.org>
* 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-091-1/+1
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc64: Manage NMI watchdog enabling like x86.David S. Miller2009-09-091-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-291-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>
* [SPARC]: Add sparc profiling supportMartin Habets2006-10-181-0/+23
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>