Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756446Ab2J2Buh (ORCPT ); Sun, 28 Oct 2012 21:50:37 -0400 Received: from mga09.intel.com ([134.134.136.24]:6611 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753593Ab2J2Bug (ORCPT ); Sun, 28 Oct 2012 21:50:36 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.80,668,1344236400"; d="scan'208";a="233852707" From: Andi Kleen To: Stephane Eranian Cc: LKML , Jiri Olsa , Peter Zijlstra , "mingo\@elte.hu" , Namhyung Kim Subject: Re: [BUG] perf parser: does not support arbitrary new sysfs events References: Date: Sun, 28 Oct 2012 18:50:35 -0700 In-Reply-To: (Stephane Eranian's message of "Fri, 26 Oct 2012 22:23:09 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1013 Lines: 29 Stephane Eranian writes: > Hi, > > The latest round of perf parser changes broke my PEBS-LL patch series > (at the last minute). For PEBS-LL, I need to add to generic events but I want > to keep them PMU specific. As such, they need to live in the sysfs events > subdir: /sys/devices/cpu/events/mem-loads, sys/devices/cpu/events/mem-stores. > > Given your latest rounds of sysfs event changes, I had to modify my kernel > patches to fit those two new events within your perf_pmu_events_attr tables. > > But now, when I try to do: > > $ perf record -e cpu/mem-loads/ .... - is not supported in an event name. I fixed this in my patchkit Yes the sysfs stuff in general is quite fragile. -Andi -- ak@linux.intel.com -- Speaking for myself only -- 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/