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

Reply via email to