opd_perfmon.c | 92 int ctx_fd; member in struct:child 100 static void perfmon_start_child(int ctx_fd) 102 if (perfmonctl(ctx_fd, PFM_START, 0, 0) == -1) { 108 static void perfmon_stop_child(int ctx_fd) 110 if (perfmonctl(ctx_fd, PFM_STOP, 0, 0) == -1) { 220 self->ctx_fd = ctx.ctx_fd; 267 err = perfmonctl(self->ctx_fd, PFM_WRITE_PMCS, pc, i); 273 err = perfmonctl(self->ctx_fd, PFM_WRITE_PMDS, pd, i); 289 err = perfmonctl(self->ctx_fd, PFM_LOAD_CONTEXT, &load_args, 1) [all...] |