https://bugs.freedesktop.org/show_bug.cgi?id=97065
--- Comment #27 from Olivier Fourdan <[email protected]> ---
FWIW, I use the following script to capture the valgrind data with weston
(easier than gnome-shell because weston has an option to specify the command to
run to launch Xwayland):
1. A bash shell script named "Xwayland-valgrind" with the following content:
#!/bin/bash
exec valgrind --leak-check=full --leak-resolution=high --track-origins=yes
--log-file=xwayland.%p $(which Xwayland) "$@"
2. Make sure the script is executable
3. Edit ~/.config/weston.ini and make the path for "[xwayland]" section points
to the script above:
[xwayland]
path=/path/to/Xwayland-valgrind
4. Reproduce the leak using weston as your Wayland compositor (you can even run
weston embedded from within a gnome-shell Wayland session, how neat is that ;-)
)
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
wayland-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs