Granulate / gprofiler

gProfiler is a system-wide profiler, combining multiple sampling profilers to produce unified visualization of what your CPU is spending time on.
https://profiler.granulate.io
Apache License 2.0
754 stars 54 forks source link

perf: Upgrade to perf of Linux v6.3 #752

Closed Jongy closed 8 months ago

Jongy commented 1 year ago

Build fails for me locally

#38 278.1 Traceback (most recent call last):
#38 278.1   File "/tmp/linux-6573d265c1dd86f691936c24fdee9592eeb9632f/scripts/bpf_doc.py", line 884, in <module>
#38 278.1     headerParser.run()
#38 278.1   File "/tmp/linux-6573d265c1dd86f691936c24fdee9592eeb9632f/scripts/bpf_doc.py", line 320, in run
#38 278.1     self.parse_define_helpers()
#38 278.1   File "/tmp/linux-6573d265c1dd86f691936c24fdee9592eeb9632f/scripts/bpf_doc.py", line 274, in parse_define_helpers
#38 278.1     self.helper_enum_vals[helper_name] = int(capture[2])
#38 278.1 TypeError: '_sre.SRE_Match' object is not subscriptable

Probably requires a newer python?

Jongy commented 1 year ago

https://www.spinics.net/lists/bpf/msg77332.html

Are we building with python 3.5 or 2.7? weird

Jongy commented 1 year ago

This was committed to Linux as 5fbea42387eba1c7517fcad79099df706def7054. I'll wait for the next release (6.3) then try.

Jongy commented 1 year ago

Upgraded to v6.3, let's see

Jongy commented 1 year ago

Build problems:

Jongy commented 1 year ago

Upgrade branch: https://github.com/Granulate/linux/tree/granulate-perf-v6.3

Jongy commented 8 months ago

Superseded by https://github.com/Granulate/gprofiler/pull/888