On Fri, 29 Aug 2025 at 11:11, Steven Rostedt <rost...@goodmis.org> wrote: > > The idea is this (pseudo code): > > user_stack_trace() { > foreach vma in each stack frame: > key = hash(vma->vm_file); > if (!lookup(key)) { > trace_file_map(key, generate_path(vma), generate_buildid(vma)); > add_into_hash(key); > } > }
I see *zero* advantage to this. It's only doing stupid things that cost extra, and only because you don't want to do the smart thing that I've explained extensively that has *NONE* of these overheads. Just do the parsing at parse time. End of story. Or don't do this at all. Justy forget the whole thing entirely. Throw the patch that started this all away, and just DON'T DO THIS. Linus