Re: [PATCH] Add support for Xtensa architecture
William Cohen <[email protected]>
| Newsgroups | gmane.linux.oprofile |
|---|---|
| Message-ID | <[email protected]> |
On 05/13/2015 06:40 AM, Max Filippov wrote: > Hi William, > > On Tue, May 12, 2015 at 6:36 PM, William Cohen <[email protected]> wrote: >> Is this just to get the code to compile or are other patches required >> to support the xtensa processors? > > This patch is just to build oprofile for xtensa. > >> There doesn't seem to be event files for the xtensa processors. What >> does the output of ophelp and a run of "operf ls; opreport" look like? > > operf ls says 'Your kernel's Performance Events Subsystem does > not support your processor type.' Looks like changes are required > on the kernel side. Is there anything else that needs to be done on > the oprofile side? > Hi Max, You can take a look at what was done for the aarch64 cortex a53 and cortex a57 to get an idea of other changes required to support the processor. https://sourceforge.net/p/oprofile/oprofile/ci/34d0065a1a790fc2be05a5ef1d8b0bbf28b814fe/ However, the kernel perf support is needed to provide events for the processor for oprofile to work. Does the xtensa architecture provide some basic counter events such as cycle and instruction count? -Will ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y