Hi Toan, you could use ptrace or inotify to track all read, access to your file system.
Make sure to start the trace early, e.g. before the system init to cover all files. On 03.12.2009, at 19:44, Toan Pham wrote: > > Hi all, > > I develop a embedded os, and I would like to try to make it as small > as possible. > I try by best to do manual book-keeping and not build packages that i > do not need. > However, I would like to investigate further by profiling the operating system > and identify all the executeables/libraries that are not used since > the system booted > up, and not include them if possible! I do not know if there are > tools out there > that do this. It is certainly possible identifying used files > (binaries/lib) by hacking the OS > linker. However, I am curious if there are tools like this already. -- René Rebe, ExactCODE GmbH, Jaegerstr. 67, DE-10117 Berlin http://exactcode.com | http://t2-project.org | http://rene.rebe.name
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [email protected] with a subject of: unsubscribe t2
