This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [RFC 1/3] Kprobes: userspace probes new interfaces
- From: James Dickens <jamesd dot wi at gmail dot com>
- To: prasanna at in dot ibm dot com
- Cc: systemtap at sources dot redhat dot com
- Date: Wed, 14 Sep 2005 11:10:40 -0500
- Subject: Re: [RFC 1/3] Kprobes: userspace probes new interfaces
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=RtIldJUIpAc50cepOcUWX+8Zgr046Bp4fUQSeb9OquMdmEpyt4Ekx/Zfe9ohDiIqtA82EsYdGVLne7IHKMdUkzpka04nt4gqx5J64tFDAYtOcW7fp1egkee6nyZgyBJ7hAgdd5fuA2GO5ULZEw7EoWxxXFu4O96UNn6YpoRWX8I=
- References: <20050914063035.GA15955@in.ibm.com> <20050914063207.GB11727@in.ibm.com>
- Reply-to: jamesd dot wi at gmail dot com
> struct uprobe {
> /*path of the application */
> char name[50];
this doesn't scale, should be a pointer to a list of applications being probed.
small apps can have 5000 probes enabled, a moderate size app like
mozilla can have 450,000 probes.
450000 * 50 = 22.5 MB.. far too much for kernel space before we even
do any work.
James Dickens
uadmin.blogspot.com
> --
>
> Prasanna S Panchamukhi
> Linux Technology Center
> India Software Labs, IBM Bangalore
> Ph: 91-80-25044636
> <prasanna@in.ibm.com>
>