Searched refs:output_name (Results 1 – 2 of 2) sorted by relevance
/linux-2.6.39/tools/perf/ |
D | builtin-record.c | 49 static const char *output_name = NULL; variable 463 if (!output_name) { in __cmd_record() 467 output_name = "perf.data"; in __cmd_record() 469 if (output_name) { in __cmd_record() 470 if (!strcmp(output_name, "-")) in __cmd_record() 472 else if (!stat(output_name, &st) && st.st_size) { in __cmd_record() 476 output_name); in __cmd_record() 478 rename(output_name, oldname); in __cmd_record() 494 output = open(output_name, flags, S_IRUSR | S_IWUSR); in __cmd_record() 500 session = perf_session__new(output_name, O_WRONLY, in __cmd_record() [all …]
|
D | builtin-timechart.c | 40 static char const *output_name = "output.svg"; variable 1005 write_svg_file(output_name); in __cmd_timechart() 1008 (last_time - first_time) / 1000000000.0, output_name); in __cmd_timechart() 1088 OPT_STRING('o', "output", &output_name, "file",
|