[Bug 809131] New: oprofile wedges kernel
https://bugzilla.novell.com/show_bug.cgi?id=809131 https://bugzilla.novell.com/show_bug.cgi?id=809131#c0 Summary: oprofile wedges kernel Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: mmeeks@suse.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- I try to profile libreoffice with callgraph information after digging around it seems I need to do this: # setup: sudo opcontrol --deinit sudo bash -c "echo 0 > /proc/sys/kernel/nmi_watchdog" sudo opcontrol --init sudo opcontrol --no-vmlinux sudo opcontrol --callgraph=10 sudo opcontrol --event=CPU_CLK_UNHALTED:500000 # sudo opcontrol --separate=none # run: cd /usr/lib/libreoffice/program/ sudo opcontrol --reset sudo opcontrol -s OOO_EXIT_POST_STARTUP=1 ./soffice -writer sudo opcontrol -t Unfortunately the kernel wedges / I get a beautiful switch-to-console crash-dump thing (but no doubt anyone can repeat that). I added the --event=CPU... stuff to try to slow down profiling - the default caused the problem too. Thoughts / advice much appreciated - it's my 1st time trying to use oprofile- and without the callgraph data it's not possible to collate profiles from multiple shared libraries into a single tree it seems (?). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=809131
https://bugzilla.novell.com/show_bug.cgi?id=809131#c
Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=809131
https://bugzilla.novell.com/show_bug.cgi?id=809131#c1
Tony Jones
https://bugzilla.novell.com/show_bug.cgi?id=809131
https://bugzilla.novell.com/show_bug.cgi?id=809131#c2
--- Comment #2 from Michael Meeks
https://bugzilla.novell.com/show_bug.cgi?id=809131
https://bugzilla.novell.com/show_bug.cgi?id=809131#c3
Tony Jones
Sure just install libreoffice and launch soffice -writer - the OOO_EXIT_POST_STARTUP=1 just makes it quit after it started :-)
No idea what's wrong with opcontrol --start etc. except that having poked at the documentation variously on-line and elsewhere what I came up with was the above ;-) [ it was rather unclear to me how to use that ;-]
Thanks for digging anyhow ! :-)
Looking at your lib paths, is this a 32bit system? Obviously this makes a major difference. Please update the bug (platform) to reflect the actual hardware type. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=809131
https://bugzilla.novell.com/show_bug.cgi?id=809131#c4
Michael Meeks
https://bugzilla.novell.com/show_bug.cgi?id=809131
https://bugzilla.novell.com/show_bug.cgi?id=809131#c5
--- Comment #5 from Tony Jones
Sorry; I'm running a 32bit system on 64bit (Intel) hardware - to avoid stuffing big gobs of memory with zeros and to get better performance ;-) perhaps that is the unusual factor that busts this ? Sorry for omitting that.
I'm not sure on the better performance. Anyhow I tried to update my old i586 box which hadn't been turned on for a year and the disk crashed during zypper update destroying the rpmdb. I'm rebuilding now with a new drive. I don't have the space on a x86_64 system for a i586 so hopefully it will reproduce on native P4. Is there a reason why you are still running 12.2? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=809131
https://bugzilla.novell.com/show_bug.cgi?id=809131#c6
--- Comment #6 from Michael Meeks
https://bugzilla.novell.com/show_bug.cgi?id=809131
https://bugzilla.novell.com/show_bug.cgi?id=809131#c7
Tony Jones
participants (1)
-
bugzilla_noreply@novell.com