Re: Removal of events for unsupported architectures or processor models
Maynard Johnson <[email protected]>
| Newsgroups | gmane.linux.oprofile |
|---|---|
| Message-ID | <[email protected]> |
On 07/21/2014 06:08 PM, Maynard Johnson wrote: > Hello, oprofile community, > Your input and feedback on the issue described below would be appreciated. > > As recently announced on the oprofile-list, OProfile release 1.0 will *NOT* include the legacy opcontrol-based profiler. Only the operf profiler -- which uses the Linux Kernel Performance Events Subsystem (aka "perf_events") -- will be included in release 1.0. It seems logical at this time to also remove the events and unit mask files for any architecture or processor types that are not supported by perf_events. From what I can tell, here are the architectures that do not have perf_events support: > > avr32 > ia64 Hi, Michael, I found your name associated with a patch that added support for Alpha architecture to the Linux Kernel Performance Events Subsystem, which implies the perf tool runs on alpha. As you may know, alpha has also been supported by oprofile (via the oprofile kernel driver and opcontrol). But opcontrol has been deprecated for a couple years, and will be removed in the upcoming oprofile release since we now have the operf and ocount tools which use the kernel's perf_events API. The removal of opcontrol means that support for alpha will also be gone. However, I think it would be a pretty simple matter to add support for alpha for operf and ocount if you were interested. In libop/op_cpu_type.c:__get_cpu_type_alt_method(), you just need to add a line to recognize the alpha architecture and then call an alpha-specific "get_cpu_type" function (TBD). I'd be happy to answer any questions you may have. Please let me know either way whether or not you would like to continue oprofile support for alpha into the future. Thanks. -Maynard > > Unsupported processor models are: > > ppc64/cell-be > ppc64/pa6t (?) > > If anyone knows of any additional architectures and/or processor models that do not have perf_events support and, thus, should be dropped from oprofile release 1.0, please let me know. > > Thanks. > > -Maynard > > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > oprofile-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/oprofile-list > ------------------------------------------------------------------------------ Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk