This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug testsuite/11514] nd_syscall.exp takes more than 10 times longer than syscall.exp testcase


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]