From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Mon, 9 Nov 2009 11:01:14 -0500 To: 9fans@9fans.net Message-ID: <9c17499f643e60caa250e592eeb63835@coraid.com> In-Reply-To: <13426df10911090745x3a64152dsac5ce91fc76db4e6@mail.gmail.com> References: <13426df10911090745x3a64152dsac5ce91fc76db4e6@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] dtrace for plan 9 Topicbox-Message-UUID: 98276ffc-ead5-11e9-9d60-3106f5b1d025 > Note that we can filter on up to 16 PIDs already. Also, you can grow > the buffer space to 256 KB -- but yes, we could grow it further. i upped that pidwatch limit to 64 and added a binary search on the pid array, so 64 is really an arbitrary limit. there would be essentially no cost to upping the limit. > I'd be glad to hear we don't need more complex kernel support for > devtrace. User mode is my favorite place to filter. But, that said, > putting in a simple min/max test for the params would be simple. agreed. - erik