andikleen / pmu-tools

Intel PMU profiling tools
GNU General Public License v2.0
1.97k stars 330 forks source link

pebs v3 support #503

Closed daishengdong closed 7 months ago

daishengdong commented 7 months ago
  1. support pebs v3
  2. I don't have a CPU with pebs_v4, and I'm not quite sure how to present the pebs record for v4 in a better way. Therefore, I haven't submitted support for v4 related features.
andikleen commented 7 months ago

Thanks. Looks good. However pebs_grabber is really obsolete unless you have a really old kernel. For the newer kernels all the information in the PEBS record can be retrieved directly through perf.

daishengdong commented 7 months ago

Indeed, there are still some "niche" scenarios, such as wanting to perform some data collection and performance analysis in kernel mode, for which pebsgrabber would be a very good reference for kernel code. ^^