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 14:38:18 -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 14:38 -------
(In reply to comment #7)
> 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.
Frank correctly pointed out on irc that this isn't a speedup, but jus flips the
comparison loop inside out. We still need to compare all kallsyms symbols
against all kprobe symbol names. So we still end up with O(N*M) comparisons. So
to speed up we really need to be using more clever data structures.
--
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.