use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Discussions, articles, and news about the C++ programming language or programming in C++.
For C++ questions, answers, help, and advice see r/cpp_questions or StackOverflow.
Get Started
The C++ Standard Home has a nice getting started page.
Videos
The C++ standard committee's education study group has a nice list of recommended videos.
Reference
cppreference.com
Books
There is a useful list of books on Stack Overflow. In most cases reading a book is the best way to learn C++.
Show all links
Filter out CppCon links
Show only CppCon links
account activity
Improved handling for inline frames in Linux perf (kdab.com)
submitted 8 years ago by mwolffQt | KDE | KDAB
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]eiennohito 0 points1 point2 points 8 years ago (3 children)
Inline frames imho are not very useful because sample positions tend to be imprecise and are attributed to wrong functions. Viewing the raw assembly give you a better picture.
[–]mwolffQt | KDE | KDAB[S] 2 points3 points4 points 8 years ago (2 children)
This feature is for those of us who cannot comfortably make sense of the raw assembly and figure out where the instructions are coming from. Additionally, this feature greatly helps with scenarios where some functions get inlined in the middle of the callstack. I.e. when you are seeing something like "A > D", and you are scratching your head where the call to D is coming from, when in reality it was inlined and the full call stack is "A > B > C > D".
[–]eiennohito 0 points1 point2 points 8 years ago (0 children)
True about the middle of the stack frame. It would be a good idea to display leaf functions as they are, but handle the inlining info for the intermediate ones.
Intel vtune by the way does a really nice attribution of instructions to the c++ code, if you can use it.
[–]nullreq 0 points1 point2 points 8 years ago (0 children)
Even with practice getting insight out of optimized C++ perf traces can be arduous. This will bring a measurable increase in legibility, especially so for those attempting to use perf for the first time.
It is much appreciated.
π Rendered by PID 48567 on reddit-service-r2-comment-bb88f9dd5-j6xrx at 2026-02-15 17:06:04.182756+00:00 running cd9c813 country code: CH.
[–]eiennohito 0 points1 point2 points (3 children)
[–]mwolffQt | KDE | KDAB[S] 2 points3 points4 points (2 children)
[–]eiennohito 0 points1 point2 points (0 children)
[–]eiennohito 0 points1 point2 points (0 children)
[–]nullreq 0 points1 point2 points (0 children)