Vince, On Mon, Mar 30, 2009 at 11:40 PM, Vince Weaver <vi...@csl.cornell.edu> wrote: > Hello > > > In the file > pfmon_os_v2x.c > > In the funcion > get_unavail_regs_v2x() > > There is the code sequence > > fd = pfm_create_context(&ctx, NULL, NULL, 0); > if (fd == -1) > return -1; > How can pfm_create_context (the syscall) return 0 if you are telling me stdin is still open? I think you need to start from that. It should not return 0 in that case. Maybe there is a problem with the return of the syscall on mips, or more likely there is a mismatch between the syscall number for pfm_create_context and the kernel, i.e., you are calling a different syscall.
------------------------------------------------------------------------------ _______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel