Thomas, I added the UTRACE code a long time ago. I think the utrace API has since changed, that would explain what you are seeing. I suspect it should not be too difficult to adapt the code because perfmon does not use a lot of the utrace features.
On Tue, Mar 31, 2009 at 7:00 PM, Thomas Moschny <mosc...@par-tec.com> wrote: > Hi, > > I wanted to try out perfom2 on Fedora, so I applied the perfmon-2.6.27 > patch to the latest Fedora 10 kernel sources (2.6.27.19-170.2.35.fc10). > This worked with some minor tweaking, but now I get this error: > > perfmon/perfmon_syscalls.c: In function 'stopper_quiesce': > perfmon/perfmon_syscalls.c:84: error: 'UTRACE_ACTION_RESUME' undeclared > (first use in this function) > perfmon/perfmon_syscalls.c:84: error: (Each undeclared identifier is > reported only once > perfmon/perfmon_syscalls.c:84: error: for each function it appears in.) > perfmon/perfmon_syscalls.c: In function 'pfm_resume_task': > perfmon/perfmon_syscalls.c:91: error: implicit declaration of function > 'utrace_detach' > perfmon/perfmon_syscalls.c: At top level: > perfmon/perfmon_syscalls.c:96: warning: initialization from incompatible > pointer type > perfmon/perfmon_syscalls.c: In function 'pfm_wait_task_stopped': > perfmon/perfmon_syscalls.c:105: error: implicit declaration of function > 'utrace_attach' > perfmon/perfmon_syscalls.c:105: warning: assignment makes pointer from > integer without a cast > perfmon/perfmon_syscalls.c:109: error: implicit declaration of function > 'utrace_set_flags' > perfmon/perfmon_syscalls.c:110: error: 'UTRACE_ACTION_QUIESCE' > undeclared (first use in this function) > > which indicates that the utrace API is different from what the perfmon2 > patch expects. > > Does anyone have experience applying perfom2 to Fedora kernels? > > Regards, > Thomas > > ------------------------------------------------------------------------------ > _______________________________________________ > perfmon2-devel mailing list > perfmon2-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/perfmon2-devel > ------------------------------------------------------------------------------ _______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel