Home
last modified time | relevance | path

Searched refs:session_dir (Results 1 – 8 of 8) sorted by relevance

/external/oprofile/libop/
Dop_config.c36 init_op_config_dirs(char const * session_dir) in init_op_config_dirs() argument
40 assert(session_dir); in init_op_config_dirs()
41 session_dir_len = strlen(session_dir); in init_op_config_dirs()
45 session_dir); in init_op_config_dirs()
49 strcpy(op_session_dir, session_dir); in init_op_config_dirs()
Dop_config.h26 void init_op_config_dirs(char const * session_dir);
/external/oprofile/
Doprofile_android99 self.session_dir = '/tmp/oprofile'
163 self.session_dir = a
333 if os.path.exists(self.session_dir):
335 print "* Session directory already exists: %s" % (self.session_dir)
340 shutil.rmtree(self.session_dir)
342 print "* Failed to remove existing session directory: %s" % (self.session_dir)
347 os.makedirs(self.session_dir)
349 print "* Failed to create session directory: %s" % (self.session_dir)
353 raw_samples_dir = os.path.join(self.session_dir, 'raw_samples')
354 samples_dir = os.path.join(self.session_dir, 'samples')
[all …]
/external/oprofile/opjitconv/
Dopjitconv.c480 static int op_process_jit_dumpfiles(char const * session_dir, in op_process_jit_dumpfiles() argument
492 int samples_dir_len = strlen(session_dir) + strlen(samples_subdir); in op_process_jit_dumpfiles()
530 sprintf(samples_dir, "%s%s", session_dir, samples_subdir); in op_process_jit_dumpfiles()
587 char const * session_dir; in main() local
605 session_dir = argv[1]; in main()
612 if (strlen(session_dir) > PATH_MAX - 16) { in main()
613 printf("opjitconv: Path name length limit exceeded for session directory: %s\n", session_dir); in main()
627 rc = op_process_jit_dumpfiles(session_dir, start_time, end_time); in main()
/external/oprofile/pp/
Dcommon_option.cpp32 string session_dir = OP_SESSION_DIR_DEFAULT; variable
46 popt::option(options::session_dir, "session-dir", '\0',
173 init_op_config_dirs(options::session_dir.c_str()); in get_options()
/external/oprofile/daemon/
Dinit.c54 extern char * session_dir;
181 exec_args[arg_num++] = session_dir; in opd_do_jitdumps()
Doprofiled.c70 char * session_dir; variable
87 …{ "session-dir", 0, POPT_ARG_STRING, &session_dir, 0, "place sample database in dir instead of def…
504 init_op_config_dirs(session_dir); in main()
Dopd_ibs.c41 extern char * session_dir;
645 strncpy(filename, session_dir, 1023); in ibs_init()
661 strncpy(filename, session_dir, 1023); in ibs_init()