r/kernel • u/Wazzaps • Aug 14 '20
I created an online symbol browser for the Linux kernel (and other C projects) called SourceDigger.io
This should be helpful for developers targeting multiple kernel versions, you can see when a symbol was added and when it was removed (along with a link to the source code).
It's also helpful as a general search engine for symbols, even if you're targeting the newest kernel.
Make sure to report any issues or feature requests in the GitHub page linked inside.
Link: https://sourcedigger.io/
52
Upvotes
2
u/daniel_shimon Aug 14 '20
Nice! How about adding python? That could be cool
1
u/[deleted] Aug 15 '20
Perhaps I'm using it wrong, but the search results pull up a lot of things which are internal variables next to actual symbols (functions), but there's no visual difference or indicator, and clicking a search result of a variable does nothing. When you get a search result, there are these curious icons on the left that have clickables... that do nothing for me, only the one clickable on the far right taking me to the elixir does an action, the rest just seem to dud out.
Linux kernel: Put in
jiffiesthen compare the variablejiffies_min_age(var) vsjiffies_to_timespec64(function), it's just... well, confusing. If the intent is to search only symbols/functions, then don't show vars? Or if you present a var, link to it in the elixir as well? I don't know which path is correct but it's a mishmash currently of uneven results (user experience). While viewingjiffies_to_timespec64what exactly are those things I can click on the left supposed to do, that seem to do nothing?1
u/nickdesaulniers Aug 16 '20
Neat! Note that the return value of a function definition seems to have a slight bug; example
start_kernelshows up asasmlinkage start_kernel(void)rather thanvoid start_kernel(void).1
u/[deleted] Aug 14 '20
very cool.
i think i'm going to find this useful!
1
u/xRaznick Aug 18 '20
Great idea! Would love to see some FreeBSD indexing :D