Andrej,

The experimental utrace support for perfmon2 showed up in the 2.6.26 patch.
So you need to get 2.6.26 + utrace patch + perfmon2 patch. As for CONFIG_UTRACE,
I was referring to the fact that the perfmon2 code automatically
enables its utrace
support if it sees CONFIG_UTRACE defined at compile time.

On Mon, Sep 15, 2008 at 4:11 AM, Andrej van der Zee
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> Thanks.
>
>> I have put in the kernel patch code to use the utrace interface. It is
>> activated
>> automatically if you have CONFIG_UTRACE set. Now I think they may have
>> changed the utrace interface since I wrote that code, so some adjustments
>> may be necessary.  As for user code, no change is necessary, simply drop
>> all references to ptrace().
>
> I patched Ubuntu 2.6.24.3 with utrace and perfmon2. Moreover, I unset
> "Legacy ptrace system call interface (PTRACE)". I get the following compile
> error:
>
>   CC      perfmon/perfmon_syscalls.o
> perfmon/perfmon_syscalls.c: In function 'pfm_get_task':
> perfmon/perfmon_syscalls.c:159: error: implicit declaration of function
> 'ptrace_check_attach'
> make[1]: *** [perfmon/perfmon_syscalls.o] Error 1
> make: *** [perfmon] Error 2
>
> Also, I could not find any "#define CONFIG_UTRACE" in the perfmon2-patch. Is
> utrace supported by the 2.6.24 patch, or only 2.6.26?
>
> Cheers,
> Andrej
>
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to