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));
364 int num = read_num(OP_DATA_DIR"/lock");
503 printf("Session directory: %s\n", OP_DATA_DIR);
525 num = read_num(OP_DATA_DIR"/lock");
603 fd = open(OP_DATA_DIR"/samples/current", O_RDONLY);
608 system("rm -r "OP_DATA_DIR"/samples/current");
609 int num = read_num(OP_DATA_DIR"/lock");
661 int pid = read_num(OP_DATA_DIR"/lock");
667 int pid = read_num(OP_DATA_DIR"/lock");
740 strcpy(slash ? slash + 1 : command, "oprofiled --session-dir="OP_DATA_DIR);
853 int num = read_num(OP_DATA_DIR"/lock");