Home
last modified time | relevance | path

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

/external/oprofile/opcontrol/
Dopcontrol.cpp207 if (mkdir(OP_DRIVER_BASE, 0755)) { in setup_device()
209 fprintf(stderr, "Cannot create directory "OP_DRIVER_BASE": %s\n", in setup_device()
215 if (access(OP_DRIVER_BASE"/stats", F_OK)) { in setup_device()
216 if (system("mount -t oprofilefs nodev "OP_DRIVER_BASE)) { in setup_device()
224 int fd = open(OP_DRIVER_BASE "/cpu_type", O_RDONLY); in setup_device()
226 fprintf(stderr, OP_DRIVER_BASE "/cpu_type: %s\n", in setup_device()
235 fprintf(stderr, OP_DRIVER_BASE "/cpu_type: %s\n", in setup_device()
250 snprintf(buf, sizeof(buf), OP_DRIVER_BASE"/%d", max_events); in setup_device()
424 snprintf(fullname, 512, OP_DRIVER_BASE"/%d/%s", counter, file); in echo_dev()
427 snprintf(fullname, 512, OP_DRIVER_BASE"/%s", file); in echo_dev()
[all …]
/external/oprofile/libop/
Dop_config.h45 #define OP_DRIVER_BASE "/dev/oprofile" macro