OProfile 0.5.2 has been released. OProfile is still in alpha, but has been proven stable for many users. Release notes ------------- For 2.2 kernels, the module must be compiled as the same user that owns the kernel source tree. nosmp is not supported in kernels before 2.4.10 (bug #463087). The pre-emptable kernel option is not supported in 2.4 (bug #478516). Power management on laptops can be incompatible with OProfile in 2.4 (bug #554927). The utilities op_start, op_stop, op_dump, and op_session are deprecated. They are still available in this release, but it is recommended that the opcontrol script is used instead, as they will be removed. Module loading is still not supported properly in 2.5 kernels. A patch exists, but Linus is still playing the "ignore it for no reason" game at the time of writing. op_merge's is now "--counter" not "--use-counter" The option "-P" has been removed, and "-p" is now recursive. New features ------------ Auto-configuration - OProfile will choose a default event and count for you, that corresponds (roughly) to 2,000 interrupts per second. You can still change these values if you wish, of course. opcontrol option settings are now additive: you can set extra options simply by, for example, doing "opcontrol --separate=kernel". To turn off separation or a counter, do "opcontrol --separate=none" or "opcontrol --ctr0-event=none". Using "--setup" to set a parameter is optional now, as in the examples in this paragraph. The GUI uses the same configuration file as opcontrol now. 2.5 kernels support a "--no-vmlinux" option, which can be used when you don't have a vmlinux file and you don't care about the detailed kernel profile. Samples are still collected and aggregated under the name "vmlinux". The documentation has been overhauled, and many parts completely rewritten. Comments are welcome. A large number of events for IA-64 have been added. The event descriptions are now separate easily editable text files. "op_help --get-cpu-type" has been added so you can find out what type OProfile has detected. The --smart-demangle option now detects more patterns. The option "-p" to the post-profiling tools is now able to locate 2.5 kernel modules. Note that it is recursive, and "-P" has been removed. This option was also added to oprofpp. Bug fixes --------- opcontrol has been fixed for the timer mode. The XML detection should work a lot better. The build for IA-64 on 2.4 has been fixed. The statistics for the daemon have been fixed. A race condition on x86-64 for 2.4 has been fixed. gprof output should now work on 64-bit systems. Another small gprof accounting error has also been fixed. oprofpp -s will now show *all* matching symbols with the given name The CPU speed detection has been fixed on a number of architectures.