> > There are lots of third party libraries that can read perf.data however, > > or you can use a perf script extension like the one below. > > We limited the perf parsing to only what we wanted. If there is an easier way > to seperate this out and use an exiting library, that would be great. > I am open for suggestions.
I don't think there is a good reason to switch as long as your library is well written: especially tolerates new records unlike the one in autofdo and doesn't use assert as a generic error handling mechanism. There are many optional features in newer perf that you likely don't support (compression, directories etc.) but these are not essential for now. -Andi
