Today is the anniversary of the public announcement of streamline_config.pl. What eventually became “make localmodconfig” https://lore.kernel.org/lkml/Pine.LNX.4.58.0503110338230.19798@localhost.localdomain/
And today’s hack is: https://lore.kernel.org/all/20230306122529.44e8d566@gandalf.local.home/
PowerTop has had a copy of libtraceevent for over 10 years, with the assumption it would use the external library when ready. That library has been ready for a few years now, but I finally got around to porting PowerTop to it. https://github.com/fenrus75/powertop/pull/122
I guess I’m not the only one that hates this: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1028643#26
@monsieuricon Maybe one day when searching for realtime linux kernel the first link will not be the obsolete kernel.org wiki!
Anyone else hate upgrades that mess with your fonts?? For some reason, every so often, after an upgrade. My default fonts are all messed up. WTF!
Today marks the day I officially converted my internal C and bin directories over to git from subversion. I have a set of personal tools I use (or just to test how things work) that I’ve kept in subversion.
Why?
Because the central repository was perfect for it. I did not care about distributed environment. I would always commit back to the central authority.
Why did I change?
Well, I do modify the code from different machines here and there, and I finally hit a merge conflict that is pretty much impossible to solve with subversion. Which caused me a couple of hours to get it back to a working state as subversion makes it very difficult to resolve nasty conflicts.
Thank God for git svn as I needed to maintain the history as well.
Oh well, Goodbye subversion. It was fun while it lasted.
For my day off, I decided to implement passing a stack trace from start event to end event (to show the backtrace of the longest blocked areas).
I usually add this to my .bashrc file to all my work machines.
alias reboot='echo "Wrong window idiot!"'
alias halt='echo "Wrong window idiot!"'
alias shutdown='echo "Wrong window idiot!"'But I just learned, that I never added it to my Google workstation 😛
The blog on the responses from the Linux Plumbers survey is now published. https://lpc.events/blog/2022/index.php/2023/01/06/lpc-2022-attendee-survey-summary/
@hergertme as for getting that information in the kernel. If there’s an elf section for it, it shouldn’t be too hard. We are already looking into it. The idea is to flag that the task has the sframe section available, and when perf wants a trace, it will set a callback of some kind, and when the task is about to go back to user space, the section will be mapped in and call the perf callback to with the user space stacktrace.
It doesn’t matter when the user space stacktrace happens inside the kernel, it’s not going to change.
@hergertme sframe is similar to ORC. I guess it we should take some time to do the benchmarks with and without frame pointers, on critical loads.
ORC has solved the issue for the kernel, but currently profiling user space without frame pointers is “interesting”.
@hergertme Is there a performance penalty with this?
And if sframe support becomes default (after it is accepted), then we could teach the kernel to do user space stack tracing without frame pointers.