[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140822201904.GC5803@tassilo.jf.intel.com>
Date:	Fri, 22 Aug 2014 13:19:04 -0700
From:	Andi Kleen <ak@...ux.intel.com>
To:	kan.liang@...el.com
Cc:	acme@...nel.org, jolsa@...hat.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/3] perf tools: parse the pmu event prefix and surfix
> +/* The contents of the pmu_events should be in ascending sorted by symbol*/
> +static struct pmu_event_symbol pmu_events[] = {
> +	{ "abort", false},
> +	{ "capacity", false},
> +	{ "commit", false},
> +	{ "conflict", false},
> +	{ "el", true},
> +	{ "start", false},
> +	{ "tx", true},
This list should be read from sysfs, not hard coded.
-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Powered by blists - more mailing lists
 
