linux-embedded.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [boot-time] RFC: proposal for boot-time tools github repository
@ 2024-10-30  8:22 Bird, Tim
  2024-11-03 16:15 ` Francesco Valla
  0 siblings, 1 reply; 3+ messages in thread
From: Bird, Tim @ 2024-10-30  8:22 UTC (permalink / raw)
  To: linux-embedded@vger.kernel.org

I have a few tools that I plan to publish over the next little while.

Some of these might make their way into the kernel 'scripts' directory, but some
others of these might not be appropriate to add there.

So I'm  thinking of putting together a repository of boot-time related tools
for people to play with.  Here's a sample of one tool that I find handy:
----
#!/bin/sh
# sort-initcalls.sh - sort the initcalls by duration

if [ -z "$1" -o "$1" = "-h" ] ; then
    echo "Usage: sort-initcalls.sh <dmesg file>"
    exit 1
fi

grep "initcall.*after" $1 | sed "s/\(.*\)after\(.*\)/\2 \1/g" | sed "s/\r//" | sort -n
----
See https://elinux.org/Initcall_Debug for details.

For tools on their way upstream, this would serve as a development repository
where different ideas and techniques can get hashed out.

So, does anyone have alternative ideas for hosting such tools, or comments on
this approach?

Eventually, I expect to make a yocto recipe that would make installing
boot-time instrumentation, testing, research and tuning tools easily available. 

 -- Tim

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-11-05  2:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-30  8:22 [boot-time] RFC: proposal for boot-time tools github repository Bird, Tim
2024-11-03 16:15 ` Francesco Valla
2024-11-05  2:04   ` Bird, Tim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).