2006-11-28 08:43:52

by J.A. Magallón

[permalink] [raw]
Subject: oprofile as user

Hi....

First of all, thanks for oprofile !
It's the first tool I can really use to profile my app, with a ton of
dynamically loaded plugins and without having to link everything
statically...

But, it there any sane way to use it as non-root user ?
Is there any alternative ?
I'm even thinking of suid'ing opcontrol.
I tried sysprof, but it locks the machine as soon as I load the module.
I use the latest -mm kernel.

Any ideas ?

TIA

--
J.A. Magallon <jamagallon()ono!com> \ Software is like sex:
\ It's better when it's free
Mandriva Linux release 2007.1 (Cooker) for i586
Linux 2.6.18-jam14 (gcc 4.1.2 20061110 (prerelease) (4.1.2-0.20061110.1mdv2007.1)) #1 SMP PREEMPT