|
@@ -606,7 +606,7 @@ static int perf_sample__fprintf_start(struct perf_sample *sample,
|
|
if (PRINT_FIELD(COMM)) {
|
|
if (PRINT_FIELD(COMM)) {
|
|
if (latency_format)
|
|
if (latency_format)
|
|
printed += fprintf(fp, "%8.8s ", thread__comm_str(thread));
|
|
printed += fprintf(fp, "%8.8s ", thread__comm_str(thread));
|
|
- else if (PRINT_FIELD(IP) && symbol_conf.use_callchain)
|
|
|
|
|
|
+ else if (PRINT_FIELD(IP) && evsel__has_callchain(evsel) && symbol_conf.use_callchain)
|
|
printed += fprintf(fp, "%s ", thread__comm_str(thread));
|
|
printed += fprintf(fp, "%s ", thread__comm_str(thread));
|
|
else
|
|
else
|
|
printed += fprintf(fp, "%16s ", thread__comm_str(thread));
|
|
printed += fprintf(fp, "%16s ", thread__comm_str(thread));
|