Re: Dynamic symbol table

Waldo Bastian <[email protected]>
Newsgroups gmane.comp.kde.devel.optimize
Message-ID <[email protected]>
On Thursday 15 July 2004 23:55, Karl Vogel wrote:
> Has anybody done some detailed analysis yet as to where most time is wasted
> at startup?! Sprinkling 'date' commands in my startkde script shows that
> ksmserver is where I loose the most time... but that encompasses alot..  so
> time to dig into the ksmserver source (and related commands that are
> started by ksmserver)

You can run startkde like:
  strace -tt -o /tmp/profiledir -f -ff startkde

That will strace all processes started from startkde with timestamps

It has two big disadvantages:
1. strace makes all the syscalls slower
2. it's a pain to sort out which process is what and who is doing what when

Would be nice to have a GUI tool that could analyze such a set of straces and 
plot the activity for each process on a timeline

Cheers,
Waldo
-- 
[email protected]  |   KDE Community World Summit 2004  |  [email protected]
[email protected]  | 21-29 August, Ludwigsburg, Germany |  [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.