Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755127Ab3G3N2w (ORCPT ); Tue, 30 Jul 2013 09:28:52 -0400 Received: from mail-qc0-f176.google.com ([209.85.216.176]:60402 "EHLO mail-qc0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754007Ab3G3N2u (ORCPT ); Tue, 30 Jul 2013 09:28:50 -0400 Date: Tue, 30 Jul 2013 10:28:39 -0300 From: Arnaldo Carvalho de Melo To: Namhyung Kim Cc: Peter Zijlstra , Paul Mackerras , Ingo Molnar , Namhyung Kim , LKML , Steven Rostedt , Frederic Weisbecker , Jiri Olsa , David Ahern , Stephane Eranian , Jeremy Eder Subject: Re: [PATCH 01/17] perf util: Save pid-cmdline mapping into tracing header Message-ID: <20130730132839.GA2607@ghostprotocols.net> References: <1375175954-798-1-git-send-email-namhyung@kernel.org> <1375175954-798-2-git-send-email-namhyung@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1375175954-798-2-git-send-email-namhyung@kernel.org> X-Url: http://acmel.wordpress.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 Content-Length: 794 Lines: 19 Em Tue, Jul 30, 2013 at 06:18:58PM +0900, Namhyung Kim escreveu: > From: Namhyung Kim > > Current trace info data lacks the saved cmdline mapping which is > needed for pevent to find out the comm of a task. Add this and bump > up the version number so that perf can determine its presence when > reading. Can't we get this from the PERF_RECORD_COMM synthesized at the beginning of the session + the kernel generated ones for new threads? We would just call machine__find_thread() and use thread->comm, etc, no? - Arnaldo -- 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/