aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arc/kernel/perf_event.c
Commit message (Collapse)AuthorAge
* arc: fix use of uninitialized arc_pmuMax Filippov2015-07-21
| | | | | | | | | | | | | | commit 7002f77541f877a5590615ceb3da32b114f14b62 upstream. static arc_pmu in the arch/arc/kernel/perf_event.c is not initialized as it's shadowed by a local variable of the same name in the arc_pmu_device_probe. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Fixes: 03c94fcf954d "ARC: perf: make @arc_pmu static global" Signed-off-by: Vineet Gupta <vgupta@synopsys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* ARC: perf: don't add code for impossible caseVineet Gupta2015-04-20
| | | | Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
* ARC: perf: Rename DT binding to not confuse with power mgmtVineet Gupta2015-04-20
| | | | Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
* ARC: perf: add user space attribution in callchainsVineet Gupta2015-04-20
| | | | | | | The actual user space unwinding is more involved, so simply capture the user space PC Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
* ARC: perf: Add kernel callchain supportVineet Gupta2015-04-20
| | | | | Signed-off-by: Mischa Jonker <mjonker@synopsys.com> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
* ARC: perf: Add some comments/debug stuffVineet Gupta2015-04-20
| | | | Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
* ARC: perf: make @arc_pmu static globalVineet Gupta2015-04-20
| | | | Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
* ARC: boot: cpu feature print enhancementsVineet Gupta2014-10-13
| | | | Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
* arc, perf: Use common PMU interrupt disabled codeVince Weaver2014-06-18
| | | | | | | | | | | | | | | Transition to using the new generic PERF_PMU_CAP_NO_INTERRUPT method for failing a sampling event when no PMU interrupt is available. Signed-off-by: Vince Weaver <vincent.weaver@maine.edu> Acked-by: Vineet Gupta <vgupta@synopsys.com> Signed-off-by: Peter Zijlstra <peterz@infradead.org> Cc: Arnaldo Carvalho de Melo <acme@kernel.org> Cc: Grant Likely <grant.likely@linaro.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Rob Herring <robh+dt@kernel.org> Link: http://lkml.kernel.org/r/alpine.DEB.2.10.1406150159280.16738@vincent-weaver-1.umelst.maine.edu Signed-off-by: Ingo Molnar <mingo@kernel.org>
* ARC: [perf] Fix a few thinkosVineet Gupta2013-11-28
| | | | Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
* ARC: perf: ARC 700 PMU doesn't support sampling eventsMischa Jonker2013-11-15
| | | | | | | | | | | | The ARC 700 does not have an interrupt associated with it, and as such it cannot trigger when a counter overflows. As the counters are 48 bit, it will usually take at least 100 days before a counter overflows, so for mere counting of events, there is no problem. Sampling is not supported though. Signed-off-by: Mischa Jonker <mjonker@synopsys.com> Acked-by: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
* ARC: Add perf support for ARC700 coresMischa Jonker2013-11-11
This adds basic perf support for ARC700 cores. Most PERF_COUNT_HW* events are supported now. Signed-off-by: Mischa Jonker <mjonker@synopsys.com> Acked-by: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>