From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752334AbbFBT7q (ORCPT ); Tue, 2 Jun 2015 15:59:46 -0400 Received: from mail.kernel.org ([198.145.29.136]:56054 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751210AbbFBT7j (ORCPT ); Tue, 2 Jun 2015 15:59:39 -0400 Date: Tue, 2 Jun 2015 16:59:33 -0300 From: Arnaldo Carvalho de Melo To: Jiri Olsa Cc: Jiri Olsa , lkml , Peter Zijlstra , Paul Mackerras , David Ahern , Namhyung Kim , Ingo Molnar , Andi Kleen , Stephane Eranian Subject: Re: [PATCH 1/9] perf tools: Add nameid value into evsel object Message-ID: <20150602195933.GS624@kernel.org> References: <1433199603-20082-1-git-send-email-jolsa@kernel.org> <1433199603-20082-2-git-send-email-jolsa@kernel.org> <20150602181056.GR624@kernel.org> <20150602184636.GD25636@krava.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150602184636.GD25636@krava.redhat.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Tue, Jun 02, 2015 at 08:46:36PM +0200, Jiri Olsa escreveu: > On Tue, Jun 02, 2015 at 03:10:56PM -0300, Arnaldo Carvalho de Melo wrote: > > Em Tue, Jun 02, 2015 at 12:59:55AM +0200, Jiri Olsa escreveu: > > > Adding a way to tag an evsel object with ID value based > > > on its name. It will be used for transaction events, > > > but could be useful for others. > > > > For what? Can you ellaborate? Just by looking at this commit message I > > can't figure out the value of this patch :-\ > > > > - Arnaldo > > > > > This way we can identify transactions events and get rid > > > of the current position based way we use. > > well, right here ^^^ > > to get rid of getting ID of transaction events based on their > possition in evlist Well, as we discussed this may be implemented using evsel->priv/struct perf_stat, i.e. this seems something 'perf stat' specific, so no rush in moving this to the infrastructure available for all tools. - Arnaldo