[PATCH v4 2/7] perf util: Get the evsel_streams by evsel_idx

2020-08-25 Thread Jin Yao
In previous patch, we have created evsel_streams array This patch returns the specified evsel_streams according to the evsel_idx. Signed-off-by: Jin Yao --- v4: - Rename the patch from 'perf util: Return per-event callchain streams' to 'perf util: Get the evsel_streams by evsel_idx'

[PATCH v4 2/7] perf util: Get the evsel_streams by evsel_idx

2020-05-26 Thread Jin Yao
In previous patch, we have created evsel_streams array This patch returns the specified evsel_streams according to the evsel_idx. Signed-off-by: Jin Yao --- tools/perf/util/stream.c | 11 +++ tools/perf/util/stream.h | 3 +++ 2 files changed, 14 insertions(+) diff --git