Searched refs:OP_DATA_DIR (Results 1 – 2 of 2) sorted by relevance
263 if (access(OP_DATA_DIR, F_OK) == 0) in setup_session_dir()264 system("rm -r "OP_DATA_DIR); in setup_session_dir()266 if (mkdir(OP_DATA_DIR, 0755)) { in setup_session_dir()268 OP_DATA_DIR, strerror(errno)); in setup_session_dir()270 if (mkdir(OP_DATA_DIR"/samples", 0755)) { in setup_session_dir()272 OP_DATA_DIR"/samples", strerror(errno)); in setup_session_dir()295 int num = read_num(OP_DATA_DIR"/lock"); in do_setup()453 printf("Session directory: %s\n", OP_DATA_DIR); in do_status()475 num = read_num(OP_DATA_DIR"/lock"); in do_status()548 int pid = read_num(OP_DATA_DIR"/lock"); in do_reset()[all …]
46 #define OP_DATA_DIR "/data/oprofile" macro