Home | History | Annotate | Download | only in opcontrol

Lines Matching refs:OP_DATA_DIR

329     fd = open(OP_DATA_DIR, O_RDONLY);
331 system("rm -r "OP_DATA_DIR);
335 if (mkdir(OP_DATA_DIR, 0755)) {
337 OP_DATA_DIR, strerror(errno));
339 if (mkdir(OP_DATA_DIR"/samples", 0755)) {
341 OP_DATA_DIR"/samples", strerror(errno));
491 printf("Session directory: %s\n", OP_DATA_DIR);
513 num = read_num(OP_DATA_DIR"/lock");
580 fd = open(OP_DATA_DIR"/samples/current", O_RDONLY);
585 system("rm -r "OP_DATA_DIR"/samples/current");
631 int pid = read_num(OP_DATA_DIR"/lock");
641 int pid = read_num(OP_DATA_DIR"/lock");
714 strcpy(slash ? slash + 1 : command, "oprofiled --session-dir="OP_DATA_DIR);