F31, gnome-shell 3.34.3
I am experiencing a memory leek with gnome-shell and therefore want to run heaptrack against gnome-shell. Unfortunately, this does not work for me (heaptrack works perfectly fine with all other applications). Things I have tried:
-
heaptrack -p $(pidof gnome-shell) → Results in
ptrace: Operation not permitted.
, even though/proc/sys/kernel/yama/ptrace_scope
is 0. Furthermore, I triedsetcap cap_sys_ptrace=eip /usr/bin/gdb
, which does not work under Fedora as/usr/bin/gdb
is actually a symbolic link to/usr/libexec/gdb
. So I did,setcap cap_sys_ptrace=eip /usr/libexec/gdb
, but I still getptrace: Operation not permitted.
-
sudo heaptrack -p $(pidof gnome-shell)
→ Results inERROR: failed to open heaptrack output file /tmp/heaptrack_fifo36227: Permission denied (13)
in the gnome-shell journal.
In both cases the heaptrack file has a size of 0 byte.
Does anyone have any ideas how this is supposed to work?