issues
search
grafana
/
pyroscope
Continuous Profiling Platform. Debug performance issues down to a single line of code
https://grafana.com/oss/pyroscope/
GNU Affero General Public License v3.0
9.66k
stars
577
forks
source link
ebpf improvements ideas
#3269
Open
korniltsev
opened
2 months ago
korniltsev
commented
2 months ago
automatically print trace_pipe , automatically mount tracefs if it is not mounted. Can be useful for debugging issues.
https://github.com/grafana/pyroscope/pull/3184/files#diff-ed660caba4be49d0b3854003a14e854719b063ad0141ec736c8e1119a3c7a9a7
we can have extra checks for object types , for example we can check
PyObject->{ob_type, refcount}
https://github.com/grafana/pyroscope/pull/3184/files#diff-0f623b15f13fd9b3ba2662752e2cb7a0341904c163fa40bb30972e9a377e288cR20-R37
we can have extra checks for object sizes (compare glibc malloc header size with struct size )
https://github.com/grafana/pyroscope/pull/3184/files#diff-0f623b15f13fd9b3ba2662752e2cb7a0341904c163fa40bb30972e9a377e288cR39-R57
expose errors as counters
https://github.com/grafana/pyroscope/pull/3184/files#diff-5f80d9d779c1eaf3739fd60e67a107f323ec7f08049fb185ec8c8c3bef4217d0R170-R181
PyObject->{ob_type, refcount}
https://github.com/grafana/pyroscope/pull/3184/files#diff-0f623b15f13fd9b3ba2662752e2cb7a0341904c163fa40bb30972e9a377e288cR20-R37