This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug testsuite/11514] nd_syscall.exp takes more than 10 times longer than syscall.exp testcase
- From: "mjw at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 20 Apr 2010 12:24:02 -0000
- Subject: [Bug testsuite/11514] nd_syscall.exp takes more than 10 times longer than syscall.exp testcase
- References: <20100419113044.11514.mjw@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From mjw at redhat dot com 2010-04-20 12:24 -------
(In reply to comment #5)
> I believe this is because kprobes is doing a *linear* search through kallsyms
> when registering by symbol name, and we have 1400 probes to register.
And it does a linear search at each register_kprobe (and it would even do a
linear search for each one, if we registered them all at once with
register_kprobes since that is just simple loop over register_kprobe).
Resolving them all in one go with kallsyms_on_each_symbol() just before
registering then in kprobe_derived_probe_group::emit_module_init() seems the
quickest way to speed this up.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11514
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.