Lines Matching refs:base_stream

181 static struct stream *stream__callchain_match(struct stream *base_stream,  in stream__callchain_match()  argument
187 if (callchain_cnode_matched(base_stream->cnode, in stream__callchain_match()
196 static struct stream *stream__match(struct stream *base_stream, in stream__match() argument
199 return stream__callchain_match(base_stream, es_pair); in stream__match()
202 static void stream__link(struct stream *base_stream, struct stream *pair_stream) in stream__link() argument
204 base_stream->pair_cnode = pair_stream->cnode; in stream__link()
205 pair_stream->pair_cnode = base_stream->cnode; in stream__link()
212 struct stream *base_stream = &es_base->streams[i]; in evsel_streams__match() local
215 pair_stream = stream__match(base_stream, es_pair); in evsel_streams__match()
217 stream__link(base_stream, pair_stream); in evsel_streams__match()
221 static void print_callchain_pair(struct stream *base_stream, int idx, in print_callchain_pair() argument
225 struct callchain_node *base_cnode = base_stream->cnode; in print_callchain_pair()
226 struct callchain_node *pair_cnode = base_stream->pair_cnode; in print_callchain_pair()
305 struct stream *base_stream; in callchain_streams_report() local
310 base_stream = &es_base->streams[i]; in callchain_streams_report()
311 if (base_stream->pair_cnode) { in callchain_streams_report()
312 print_callchain_pair(base_stream, ++idx, in callchain_streams_report()
320 base_stream = &es_base->streams[i]; in callchain_streams_report()
321 if (!base_stream->pair_cnode) { in callchain_streams_report()
322 print_stream_callchain(base_stream, ++idx, in callchain_streams_report()
330 base_stream = &es_pair->streams[i]; in callchain_streams_report()
331 if (!base_stream->pair_cnode) { in callchain_streams_report()
332 print_stream_callchain(base_stream, ++idx, in callchain_streams_report()