Re: [PATCH 2/2] perf script: Don't disable use_callchain if input is pipe

2016-08-15 Thread Arnaldo Carvalho de Melo
Em Mon, Aug 15, 2016 at 06:25:15PM +0800, Hekuang escreveu: > ping. Thanks, tested and applied both patches. - Arnaldo > 在 2016/8/4 19:25, He Kuang 写道: > > Because perf data from pipe do not have a header with evsel attr, we > > should not check that and disable symbol_conf.use_callchain.

Re: [PATCH 2/2] perf script: Don't disable use_callchain if input is pipe

2016-08-15 Thread Arnaldo Carvalho de Melo
Em Mon, Aug 15, 2016 at 06:25:15PM +0800, Hekuang escreveu: > ping. Thanks, tested and applied both patches. - Arnaldo > 在 2016/8/4 19:25, He Kuang 写道: > > Because perf data from pipe do not have a header with evsel attr, we > > should not check that and disable symbol_conf.use_callchain.

Re: [PATCH 2/2] perf script: Don't disable use_callchain if input is pipe

2016-08-15 Thread Hekuang
ping. 在 2016/8/4 19:25, He Kuang 写道: Because perf data from pipe do not have a header with evsel attr, we should not check that and disable symbol_conf.use_callchain. Otherwise, perf script won't show callchains even if the data stream contains callchain. Before: $ perf record -g -o - uname

Re: [PATCH 2/2] perf script: Don't disable use_callchain if input is pipe

2016-08-15 Thread Hekuang
ping. 在 2016/8/4 19:25, He Kuang 写道: Because perf data from pipe do not have a header with evsel attr, we should not check that and disable symbol_conf.use_callchain. Otherwise, perf script won't show callchains even if the data stream contains callchain. Before: $ perf record -g -o - uname

[PATCH 2/2] perf script: Don't disable use_callchain if input is pipe

2016-08-04 Thread He Kuang
Because perf data from pipe do not have a header with evsel attr, we should not check that and disable symbol_conf.use_callchain. Otherwise, perf script won't show callchains even if the data stream contains callchain. Before: $ perf record -g -o - uname |perf script Linux [ perf record:

[PATCH 2/2] perf script: Don't disable use_callchain if input is pipe

2016-08-04 Thread He Kuang
Because perf data from pipe do not have a header with evsel attr, we should not check that and disable symbol_conf.use_callchain. Otherwise, perf script won't show callchains even if the data stream contains callchain. Before: $ perf record -g -o - uname |perf script Linux [ perf record: