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