Messages in this thread | | | Date | Fri, 13 Sep 2013 10:48:02 -0700 | From | Andi Kleen <> | Subject | Re: [PATCH 1/2] tools, perf: Add a precise event qualifier v2 |
| |
> Typically PMU drivers are per arch and all the format stuff is per pmu > driver so I'd not worry about that just yet.
That's a good point. So hard coded numbers would be fine for now.
> Yes, that is an unfortunate situation. I (and either Acme or Jolsa) > tried wrapping the bitfield in an anonymous union to create a named > variable for the entire u64 but older GCC completely fails with that.
In theory it's possible by parsing readelf output.
-Andi
-- ak@linux.intel.com -- Speaking for myself only
| |