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

2016-08-15 Thread Arnaldo Carvalho de Melo
From: 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 06/11] perf script: Don't disable use_callchain if input is pipe

2016-08-15 Thread Arnaldo Carvalho de Melo
From: 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