Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757893Ab0LBQvn (ORCPT ); Thu, 2 Dec 2010 11:51:43 -0500 Received: from cantor.suse.de ([195.135.220.2]:58671 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757468Ab0LBQvl (ORCPT ); Thu, 2 Dec 2010 11:51:41 -0500 From: Thomas Renninger Organization: SUSE Products GmbH To: lenb@kernel.org Subject: Re: [PATCH 7/8] perf timechart: Map power:cpu_idle events to the corresponding cpuidle state Date: Thu, 2 Dec 2010 17:51:39 +0100 User-Agent: KMail/1.13.5 (Linux/2.6.36-18-desktop; KDE/4.5.3; x86_64; ; ) Cc: linux-acpi@vger.kernel.org, linux-pm@lists.linux-foundation.org, Arjan van de Ven , Ingo Molnar , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, linux-omap@vger.kernel.org References: <1291308148-28628-1-git-send-email-trenn@suse.de> <1291308148-28628-7-git-send-email-trenn@suse.de> <1291308148-28628-8-git-send-email-trenn@suse.de> In-Reply-To: <1291308148-28628-8-git-send-email-trenn@suse.de> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Message-Id: <201012021751.39865.trenn@suse.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1345 Lines: 28 On Thursday 02 December 2010 17:42:27 Thomas Renninger wrote: > Before, power:cpu_idle events were very specific X86 Intel mwait events. > This got fixed with previous patches and cpu_idle events are now thrown by > all cpuidle drivers and can be mapped to the corresponding cpuidle state > in /sys. > > This patch reads out the corresponding cpuidle name of a cpu_idle event > and uses it in the title line of the chart (c-states Cx in x86, omap2 > - DDR self refresh states for various arm archs). > > It also reads out the corresponding abbr(eviation) and uses the string > to draw the cpu idle occurences. This needs a short (3 letter) string > to keep the overview in the chart. I forgot two other changes: - Fixes black c-state drawings in eog and firefox: class="rect.cX" is wrong and must be class="cX" - Use green color instead of red for idle drawings. This does not clash with the Block IO drawings (also red) and better fits the "green IT" background the C-states are about :) (that was not really the reason, green was one of the last not used colors)... Thomas -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/