From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757603AbaEFMpH (ORCPT ); Tue, 6 May 2014 08:45:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:16232 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757570AbaEFMok (ORCPT ); Tue, 6 May 2014 08:44:40 -0400 Date: Tue, 6 May 2014 14:44:27 +0200 From: Jiri Olsa To: Ingo Molnar Cc: Dongsheng Yang , a.p.zijlstra@chello.nl, paulus@samba.org, acme@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH V3] perf tools: Clarify the output of perf sched map. Message-ID: <20140506124427.GC1079@krava.brq.redhat.com> References: <20140506062350.GA25208@gmail.com> <1399354741-19522-1-git-send-email-yangds.fnst@cn.fujitsu.com> <20140506072304.GA25402@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140506072304.GA25402@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 06, 2014 at 09:23:04AM +0200, Ingo Molnar wrote: > > * Dongsheng Yang wrote: > > > From: Dongsheng > > > > In output of perf sched map, any shortname of thread will be explained > > at the first time when it appear. > > > > Example: > > *A0 228836.978985 secs A0 => perf:23032 > > *. A0 228836.979016 secs B0 => swapper:0 > > . *C0 228836.979099 secs C0 => migration/3:22 > > *A0 . C0 228836.979115 secs > > A0 . *. 228836.979115 secs > > > > But B0, which is explained as swapper:0 did not appear in the > > left part of output. Instead, we use '.' as the shortname of > > swapper:0. So the comment of "B0 => swapper:0" is not easy to > > understand. > > > > This patch clarify the output of perf sched map with not allocating > > one letter-number shortname for swapper:0 and print ". => swapper:0" > > as the explaination for swapper:0. > > > > Example: > > *A0 228836.978985 secs A0 => perf:23032 > > * . A0 228836.979016 secs . => swapper:0 > > . *B0 228836.979099 secs B0 => migration/3:22 > > *A0 . B0 228836.979115 secs > > A0 . * . 228836.979115 secs > > A0 *C0 . 228836.979225 secs C0 => ksoftirqd/2:18 > > A0 *D0 . 228836.979236 secs D0 => rcu_sched:7 > > > > Signed-off-by: Dongsheng > > Acked-by: Ingo Molnar > > Looks good to me, thanks! thanks, I'll queue this patchset jirka