Re: [PATCH 2/3] perf tools: parse the pmu event prefix and surfix

From: Andi Kleen
Date: Fri Aug 22 2014 - 16:19:31 EST


> +/* 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/