Date: Sat, 20 May 2017 12:10:29 +0300 From: Beeblebrox <zaphod@berentweb.com> To: freebsd-dtrace@freebsd.org Subject: dtrace noob: How is it used? Message-ID: <20170520121029.708bc827@rsbsd>
next in thread | raw e-mail | index | archive | help
Hello, simple noob question. Trying to use dtrace on my drm-next kernel that leaks memory to the extent that all swap space gets filled. easy enogh: kldload dtraceall But which parameters and exactly how am I supposed to capture afterwards? I assume most useful info would be a) memory leaks per minute and b) source of leak. Wiki page was not much help for understanding usage: https://wiki.freebsd.org/DTrace/One-Liners * /usr/share/dtrace has scirpts, are those sufficient for the problem or should I add sysutils/DTraceToolkit? * Which script(s) would provide adequate info for this problem and how could I log a per minute (or perhaps per event) output from the probes? Thanks --=20 FreeBSD_amd64_12-Current_RadeonKMS Please CC my email when responding, mail from list is not delivered.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170520121029.708bc827>