On Sat, Feb 23, 2008 at 01:53:35PM +0000, John Levon wrote:
I think it's fair to say that oth oprofile and sysprof can use some
improvements. There are a couple of questions that immediately come
to mind, including the most obvious one, *if* as you John clams, the
oprofile kernel had all of the functionality for the GUI, why wasn't
it used --- could it *perhaps* because the kernel interface for
oprofile wasn't documented well? Heck, even if sysprof is 200 lines
of code versus 2000 lines of kernel code, most people don't write
extra code unless it's because the 2000 lines of pre-existing code
isn't well documented enough.
Wrong Answer. People who write userspace helpers *have* to do the
work of the distro's. It's a bad, bad, bad, Bad, BAD idea to leave it
up to the distributions. It means that some distributions won't get
it right; other distributions will do it in different ways, making it
harder for users to switch between distro's and making it harder for
people to write distribution-neutral HOWTO's.
There are plenty of things that can be done, including using search
paths to try to find vmlinuz; or maybe even proposing a new standard
such as say for example /lib/modules/`uname -r`/vmlinux being a
synlink to the location of vmlinux. We already have
/lib/modules/`uname -r`/build and /lib/modules/`uname -r`/source, for
example.
The abdication of responsibility and the lack of trying to solve the
usability issues is one of the things that really worries me about
*all* of Linux's RAS tools. We can and should do better! And it's
really embarassing that the RAS maintainers seem (I assume you are one
of the oprofile maintainers), seem to be blaming this on the victims,
the people who are complaining about using *your* tool. Yes, it's a
shame that Ingo didn't try to fix your tool; open source, and scratch
your own itch and all of that. To be sure. But at the *same* *time*
don't you have enough pride to take a look at a tools which so
obviously has massive lacks in the usability department, and tried to
fix it years ago? There's more than enough blame to go around twenty
times over, I would think.
- Ted
--