Home
last modified time | relevance | path

Searched refs:ctx_fd (Results 1 – 2 of 2) sorted by relevance

/external/oprofile/daemon/
Dopd_perfmon.c92 int ctx_fd; member
100 static void perfmon_start_child(int ctx_fd) in perfmon_start_child() argument
102 if (perfmonctl(ctx_fd, PFM_START, 0, 0) == -1) { in perfmon_start_child()
108 static void perfmon_stop_child(int ctx_fd) in perfmon_stop_child() argument
110 if (perfmonctl(ctx_fd, PFM_STOP, 0, 0) == -1) { in perfmon_stop_child()
220 self->ctx_fd = ctx.ctx_fd; in create_context()
267 err = perfmonctl(self->ctx_fd, PFM_WRITE_PMCS, pc, i); in write_pmu()
273 err = perfmonctl(self->ctx_fd, PFM_WRITE_PMDS, pd, i); in write_pmu()
289 err = perfmonctl(self->ctx_fd, PFM_LOAD_CONTEXT, &load_args, 1); in load_context()
364 perfmon_start_child(self->ctx_fd); in run_child()
[all …]
Dopd_perfmon.h38 int ctx_fd; /* return arg: unique identification for context */ member