diff --git a/manual/tracy.tex b/manual/tracy.tex index ec0cfb9c..e5063862 100644 --- a/manual/tracy.tex +++ b/manual/tracy.tex @@ -2482,9 +2482,9 @@ Stack frame location may be displayed in the following number of ways, depending \begin{itemize} \item \emph{Source code} -- displays source file and line number associated with the frame. +\item \emph{Entry point} -- source code at the beginning of the function containing selected frame, or function call place in case of inline frames. \item \emph{Return address} -- shows return address, which may be used to pinpoint the exact instruction in the disassembly. \item \emph{Symbol address} -- displays begin address of the function containing the frame address. -\item \emph{Entry point} -- source code at the beginning of the function containing selected frame, or function call place in case of inline frames. \end{itemize} In some cases it may be not possible to properly decode stack frame address. Such frames will be presented with a dimmed '\texttt{[ntdll.dll]}' name of the image containing the frame address, or simply '\texttt{[unknown]}' if even this information cannot be retrieved. Additionally, '\texttt{[kernel]}' is used to indicate unknown stack frames within the operating system internal routines. diff --git a/server/TracyView.cpp b/server/TracyView.cpp index a89832d7..a94a3158 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -11403,11 +11403,11 @@ void View::DrawCallstackWindow() ImGui::PushStyleVar( ImGuiStyleVar_FramePadding, ImVec2( 0, 0 ) ); ImGui::RadioButton( "Source code", &m_showCallstackFrameAddress, 0 ); ImGui::SameLine(); + ImGui::RadioButton( "Entry point", &m_showCallstackFrameAddress, 3 ); + ImGui::SameLine(); ImGui::RadioButton( "Return address", &m_showCallstackFrameAddress, 1 ); ImGui::SameLine(); ImGui::RadioButton( "Symbol address", &m_showCallstackFrameAddress, 2 ); - ImGui::SameLine(); - ImGui::RadioButton( "Entry point", &m_showCallstackFrameAddress, 3 ); auto& cs = m_worker.GetCallstack( m_callstackInfoWindow ); { @@ -13418,11 +13418,11 @@ void View::DrawSampleParents() ImGui::SameLine(); ImGui::RadioButton( "Source code", &m_showCallstackFrameAddress, 0 ); ImGui::SameLine(); + ImGui::RadioButton( "Entry point", &m_showCallstackFrameAddress, 3 ); + ImGui::SameLine(); ImGui::RadioButton( "Return address", &m_showCallstackFrameAddress, 1 ); ImGui::SameLine(); ImGui::RadioButton( "Symbol address", &m_showCallstackFrameAddress, 2 ); - ImGui::SameLine(); - ImGui::RadioButton( "Entry point", &m_showCallstackFrameAddress, 3 ); ImGui::PopStyleVar(); auto& cs = m_worker.GetParentCallstack( data[m_sampleParents.sel]->first );