Lines Matching defs:output
120 struct perf_data output;
144 size = perf_data__write(&inject->output, buf, sz);
247 if (!inject->output.is_pipe) {
250 offset = lseek(inject->output.file.fd, 0, SEEK_CUR);
401 ret = jit_process(inject->session, &inject->output, machine,
516 ret = jit_process(inject->session, &inject->output, machine,
1242 * session where they will be output to the Build ID feature section
1285 * perf does not support processing 2 sessions simultaneously, so output
1791 inject->output.is_dir = true;
1943 inject->input_name, inject->output.path);
1959 gs->perf_data_file, inject->output.path, gs->machine_pid);
1970 return inject->in_place_update ? -1 : perf_data__fd(&inject->output);
2206 .output = {
2222 "Inject build-ids into the output stream"),
2224 "Inject build-ids of all DSOs into the output stream"),
2230 OPT_STRING('o', "output", &inject.output.path, "file",
2231 "output file name"),
2298 if (strcmp(inject.output.path, "-")) {
2310 if (strcmp(inject.output.path, "-") && !inject.strip &&
2312 inject.output.is_dir = true;
2315 if (perf_data__open(&inject.output)) {
2316 perror("failed to create output file");
2322 if (!strcmp(inject.input_name, "-") || inject.output.is_pipe) {
2349 if (!data.is_pipe && inject.output.is_pipe) {
2350 ret = perf_header__write_pipe(perf_data__fd(&inject.output));
2358 &inject.output,
2415 perf_data__close(&inject.output);