On Tue, Mar 01, 2016 at 10:08:16AM +0530, haris iqbal wrote: > On Tue, Mar 1, 2016 at 5:09 AM, Dmitry V. Levin <l...@altlinux.org> wrote: > > > > On Wed, Feb 24, 2016 at 06:02:01PM +0530, haris iqbal wrote: > > [...] > > > Ok. I have come up with a separate memory model for tcbtab. In this > > > model, we will use a linked list instead of a global array of pointers > > > tcbtab. > > > > > > The structure > > > > > > struct s_tcbtab > > > { > > > struct tcb* data; > > > struct s_tcbtab* next; > > > } > > > > > > And a global head of the linked list. > > > > > > struct s_tcbtab* head_tcbtab = NULL; > > > > I suppose this memory model is better for some use cases and worse for > > some other use cases. > > What kind of strace usage would win/lose from this change? > > quick question. How many pids can we give with the -p option?
It depends on the maximum length of the arguments to execve(2), which varies between systems. -- ldv
pgp_WnWPZPJRz.pgp
Description: PGP signature
------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________ Strace-devel mailing list Strace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/strace-devel