mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-29 08:54:34 +00:00
Rearrange UI.
This commit is contained in:
parent
c23984dd6a
commit
8f9ba5d54a
@ -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.
|
||||
|
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user