Home
last modified time | relevance | path

Searched refs:is_pipe (Results 1 – 13 of 13) sorted by relevance

/linux/tools/perf/util/
H A Ddata.c164 bool is_pipe = false; in check_pipe() local
170 is_pipe = true; in check_pipe()
173 is_pipe = true; in check_pipe()
176 if (is_pipe) { in check_pipe()
189 * When is_pipe and data->file.fd is given, use given fd in check_pipe()
197 return data->is_pipe = is_pipe; in check_pipe()
H A Ddata.h32 bool is_pipe; member
58 return data->is_pipe; in perf_data__is_pipe()
H A Dsynthetic-events.h73 int perf_event__synthesize_extra_attr(const struct perf_tool *tool, struct evlist *evsel_list, perf_event__handler_t process, bool is_pipe);
H A Dsynthetic-events.c2109 perf_event__handler_t process, bool is_pipe) in perf_event__synthesize_extra_attr() argument
2153 if (is_pipe) { in perf_event__synthesize_extra_attr()
H A Dcs-etm.c2893 bool is_pipe = perf_data__is_pipe(session->data); in cs_etm__process_auxtrace_event() local
2897 if (is_pipe) in cs_etm__process_auxtrace_event()
H A Dsession.c176 if (!data->is_pipe) { in __perf_session__new()
217 if ((!data || !data->is_pipe) && tool && tool->ordering_requires_timestamps && in __perf_session__new()
/linux/tools/perf/
H A Dbuiltin-stat.c696 bool is_pipe = STAT_RECORD ? perf_stat.data.is_pipe : false; in __run_perf_stat() local
703 if (evlist__prepare_workload(evsel_list, &target, argv, is_pipe, workload_exec_failed_signal) < 0) { in __run_perf_stat()
851 if (is_pipe) { in __run_perf_stat()
862 process_synthesized_event, is_pipe); in __run_perf_stat()
1002 if (STAT_RECORD && perf_stat.data.is_pipe) in print_counters()
2150 if (perf_stat.data.is_pipe) in process_stat_config_event()
2839 stat_config.identifier = !(STAT_RECORD && perf_stat.data.is_pipe); in cmd_stat()
2914 if (!perf_stat.data.is_pipe) { in cmd_stat()
H A Dbuiltin-report.c374 bool is_pipe = perf_data__is_pipe(session->data); in report__setup_sample_type() local
379 (!is_pipe && in report__setup_sample_type()
388 if (!is_pipe && !(sample_type & PERF_SAMPLE_CALLCHAIN)) { in report__setup_sample_type()
421 if (!is_pipe && in report__setup_sample_type()
443 if (!is_pipe && !(sample_type & PERF_SAMPLE_DATA_SRC)) { in report__setup_sample_type()
1806 if (data.is_pipe) { in cmd_report()
H A Dbuiltin-inject.c227 if (!inject->output.is_pipe) in perf_event__repipe_attr()
271 if (!inject->output.is_pipe) { in perf_event__repipe_auxtrace()
2180 bool write_attrs_after_data = !inject->output.is_pipe && inject->session->data->is_pipe; in __cmd_inject()
2288 if (!inject->output.is_pipe && !inject->in_place_update) in __cmd_inject()
2307 if (!inject->output.is_pipe && !inject->in_place_update) { in __cmd_inject()
2542 /*trace_event_repipe=*/inject.output.is_pipe, in cmd_inject()
2558 if (inject.output.is_pipe) { in cmd_inject()
2570 if (!data.is_pipe) { in cmd_inject()
H A Dbuiltin-record.c1806 if (data->is_pipe) { in record__finish_output()
2062 if (data->is_pipe) { in record__synthesize()
2112 data->is_pipe); in record__synthesize()
2495 err = evlist__prepare_workload(rec->evlist, &opts->target, argv, data->is_pipe, in __cmd_record()
2510 if (data->is_pipe && rec->evlist->core.nr_entries == 1) in __cmd_record()
2556 if (data->is_pipe) { in __cmd_record()
H A Dbuiltin-lock.c1881 if (!data.is_pipe) { in __cmd_report()
2083 } else if (!data.is_pipe) { in __cmd_contention()
H A Dbuiltin-script.c4127 if (data.is_pipe) { /* Assume pipe_mode indicates native_arch */ in cmd_script()
/linux/fs/
H A Dpipe.c1121 bool is_pipe = inode->i_fop == &pipeanon_fops; in fifo_open() local
1168 if (!is_pipe && !pipe->writers) { in fifo_open()
1187 if (!is_pipe && (filp->f_flags & O_NONBLOCK) && !pipe->readers) in fifo_open()
1194 if (!is_pipe && !pipe->readers) { in fifo_open()