This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: strstr benchtest.
- From: Florian Weimer <fweimer at redhat dot com>
- To: OndÅej BÃlka <neleai at seznam dot cz>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 14 May 2015 11:33:58 +0200
- Subject: Re: strstr benchtest.
- Authentication-results: sourceware.org; auth=none
- References: <20150512205311 dot GA24057 at domone> <20150512210946 dot GB24057 at domone>
On 05/12/2015 11:09 PM, OndÅej BÃlka wrote:
> Main problem of current benchtest was very biased input. I replaced that
> with randomly generated ones that are closer to average case.
But strstr is not run on random strings.
Is there some easy way to generated traces of actual strstr arguments
from a running system, perhaps using Systemtap?
--
Florian Weimer / Red Hat Product Security