Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Taudul <wolf@nereid.pl>2022-10-26 22:33:07 +0300
committerBartosz Taudul <wolf@nereid.pl>2022-10-26 22:33:07 +0300
commit19e36f5e809add817a527e4a76c934e01e06676a (patch)
treef9973e77a96cc93dd3c76f056853af3b1617205f
parentfbf0d47c1c828a4d7e342911183d481bc1774741 (diff)
Condense some more.
-rw-r--r--manual/tracy.tex4
-rw-r--r--server/TracySourceView.cpp6
2 files changed, 5 insertions, 5 deletions
diff --git a/manual/tracy.tex b/manual/tracy.tex
index 07210ddd..e06502b2 100644
--- a/manual/tracy.tex
+++ b/manual/tracy.tex
@@ -3524,7 +3524,7 @@ The \emph{Propagate inlines} option, available when sample data is present, will
\paragraph{Assembly mode}
-This mode shows the disassembly of the symbol machine code. If only one inline function is selected through the \emph{\faSitemap{}~Function} selector, assembly instructions outside of this function will be dimmed out. Each assembly instruction is displayed listed with its location in the program memory during execution. If the \emph{\faSearchLocation{}~Relative locations} option is selected, the profiler will print an offset from the symbol beginning instead. Clicking the \LMB{}~left mouse button on the address/offset will switch to counting line numbers, using the selected one as the origin (i.e., zero value). Line numbers are displayed inside \texttt{[]} brackets. This display mode can be useful to correlate lines with the output of external tools, such as \texttt{llvm-mca}. To disable line numbering click the \RMB{}~right mouse button on a line number.
+This mode shows the disassembly of the symbol machine code. If only one inline function is selected through the \emph{\faSitemap{}~Function} selector, assembly instructions outside of this function will be dimmed out. Each assembly instruction is displayed listed with its location in the program memory during execution. If the \emph{\faSearchLocation{}~Relative address} option is selected, the profiler will print an offset from the symbol beginning instead. Clicking the \LMB{}~left mouse button on the address/offset will switch to counting line numbers, using the selected one as the origin (i.e., zero value). Line numbers are displayed inside \texttt{[]} brackets. This display mode can be useful to correlate lines with the output of external tools, such as \texttt{llvm-mca}. To disable line numbering click the \RMB{}~right mouse button on a line number.
If the \emph{\faFileImport{}~Source locations} option is selected, each line of the assembly code will also contain information about the originating source file name and line number. Each file is assigned its own color for easier differentiation between different source files. Clicking the \LMB{}~left mouse button on a displayed source location will switch the source file, if necessary, and focus the source view on the selected line. Additionally, hovering the \faMousePointer{}~mouse cursor over the presented location will show a tooltip containing the name of a function the instruction originates from, along with an appropriate source code fragment and the local call stack if it exists.
@@ -3538,7 +3538,7 @@ In some cases, it may be challenging to understand what is being displayed in th
The local call stack for an assembly instruction represents all the inline function calls \emph{within the symbol} (hence the 'local' part), which were made to reach the instruction. Deeper inspection of the local call stack, including navigation to the source call site of each participating inline function, can be performed through the context menu accessible by pressing the \RMB{}~right mouse button on the source location.
\end{bclogo}
-Selecting the \emph{\faCogs{}~Machine code} option will enable the display of raw machine code bytes for each line.
+Selecting the \emph{\faCogs{}~Raw code} option will enable the display of raw machine code bytes for each line. Individual bytes are displayed with interwoven colors to make reading easier.
If any instruction would jump to a predefined address, the symbolic name of the jump target will be additionally displayed. If the destination location is within the currently displayed symbol, an \texttt{->}~arrow will be prepended to the name. Hovering the \faMousePointer{}~mouse pointer over such symbol name will highlight the target location. Clicking on it with the \LMB{}~left mouse button will focus the view on the destination instruction or switch view to the destination symbol.
diff --git a/server/TracySourceView.cpp b/server/TracySourceView.cpp
index d9718fac..1d725899 100644
--- a/server/TracySourceView.cpp
+++ b/server/TracySourceView.cpp
@@ -2346,18 +2346,18 @@ uint64_t SourceView::RenderSymbolAsmView( const AddrStatData& as, Worker& worker
}
ImGui::SameLine();
}
- SmallCheckbox( ICON_FA_MAGNIFYING_GLASS_LOCATION " Relative loc.", &m_asmRelative );
+ SmallCheckbox( ICON_FA_MAGNIFYING_GLASS_LOCATION " Relative", &m_asmRelative );
if( !m_sourceFiles.empty() )
{
ImGui::SameLine();
ImGui::Spacing();
ImGui::SameLine();
- SmallCheckbox( ICON_FA_FILE_IMPORT " Source loc.", &m_asmShowSourceLocation );
+ SmallCheckbox( ICON_FA_FILE_IMPORT " Source", &m_asmShowSourceLocation );
}
ImGui::SameLine();
ImGui::Spacing();
ImGui::SameLine();
- SmallCheckbox( ICON_FA_GEARS " Machine code", &m_asmBytes );
+ SmallCheckbox( ICON_FA_GEARS " Raw code", &m_asmBytes );
ImGui::SameLine();
ImGui::Spacing();
ImGui::SameLine();