Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756128Ab1EJIeG (ORCPT ); Tue, 10 May 2011 04:34:06 -0400 Received: from mga01.intel.com ([192.55.52.88]:39897 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932666Ab1EJIdN (ORCPT ); Tue, 10 May 2011 04:33:13 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.64,345,1301900400"; d="scan'208";a="226431" Message-ID: <4DC8F831.2010404@linux.intel.com> Date: Tue, 10 May 2011 01:32:49 -0700 From: Arjan van de Ven User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: Ingo Molnar CC: Steven Rostedt , David Sharp , Vaibhav Nagarnaik , Michael Rubin , Linus Torvalds , linux-kernel , Frederic Weisbecker , Peter Zijlstra , Thomas Gleixner , Christoph Hellwig , Arnd Bergmann Subject: Re: Fix powerTOP regression with 2.6.39-rc5 References: <4DC45537.6070609@linux.intel.com> <1304713252.25414.2532.camel@gandalf.stny.rr.com> <20110507065803.GA23414@elte.hu> <1304765110.25414.2564.camel@gandalf.stny.rr.com> <20110507144402.GC2859@elte.hu> <1304788829.11129.57.camel@frodo> <20110507190033.GA11465@elte.hu> <1304996847.2969.151.camel@frodo> <20110510080918.GB27426@elte.hu> In-Reply-To: <20110510080918.GB27426@elte.hu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1671 Lines: 39 On >> name: sched_switch >> ID: 57 >> format: >> field:unsigned short common_type; offset:0; size:2; >> field:unsigned char common_flags; offset:2; size:1; >> field:unsigned char common_preempt_count; offset:3; size:1; >> field:int common_pid; offset:4; size:4; >> field:int common_lock_depth; offset:8; size:4; >> >> field:char prev_comm[TASK_COMM_LEN]; offset:12; size:16; >> field:pid_t prev_pid; offset:28; size:4; >> field:int prev_prio; offset:32; size:4; >> field:long prev_state; offset:40; size:8; >> field:char next_comm[TASK_COMM_LEN]; offset:48; size:16; >> field:pid_t next_pid; offset:64; size:4; >> field:int next_prio; offset:68; size:4; >> >> Is equivalent to this: >> >> >> Eventsschedfunction_graph/tmp/trace.dat > I did not say that it's equivalent, i said it's XML look-alike. > > Steve, we even joked about that, that if we continue like this we'll end up > with an XML parser ... I requested several changes to the description format so > that it becomes more human readable. frankly, for software, XML is easier to deal with than the human readable form. if we are serious about wanting software to parse this stuff.. maybe exposing it in an easy to parse format as well is not a bad idea.... -- 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/