From 3f17dbc3f54ad45751d116b970b33b61c81623a4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Genevi=C3=A8ve=20Bastien?= Date: Mon, 19 Sep 2016 21:38:56 -0400 Subject: [PATCH] doc: Modify 'Import mapping file' icon and title for callstack view MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit It also adds a link to source lookup for LTTng-UST traces taken with LTTng 2.8+ (because it does not always work automatically when not in the same computer as the one the trace was taken on) Change-Id: If4f191d3e9fa650f852b1a2bed6857cd6e716a74 Signed-off-by: Geneviève Bastien Reviewed-on: https://git.eclipse.org/r/81404 Reviewed-by: Hudson CI Reviewed-by: Matthew Khouzam Tested-by: Matthew Khouzam --- .../doc/User-Guide.mediawiki | 6 ++++-- .../doc/images/binaries_obj.gif | Bin 0 -> 605 bytes .../doc/images/import.gif | Bin 327 -> 0 bytes 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 doc/org.eclipse.tracecompass.doc.user/doc/images/binaries_obj.gif delete mode 100644 doc/org.eclipse.tracecompass.doc.user/doc/images/import.gif diff --git a/doc/org.eclipse.tracecompass.doc.user/doc/User-Guide.mediawiki b/doc/org.eclipse.tracecompass.doc.user/doc/User-Guide.mediawiki index 4e5720fd1e..7052b66615 100644 --- a/doc/org.eclipse.tracecompass.doc.user/doc/User-Guide.mediawiki +++ b/doc/org.eclipse.tracecompass.doc.user/doc/User-Guide.mediawiki @@ -2432,7 +2432,7 @@ Double-clicking on a call stack event will zoom the time graph to the selected f Clicking the '''Select Next State Change''' or '''Select Previous State Change''' or using the left and right arrows will navigate to the next or previous call stack event, and select the function currently at the top of the call stack. Note that pressing the '''Shift''' key at the same time will update the selection end time of the current selection. -Clicking the '''Import Mapping File''' ([[Image:images/import.gif]]) icon will open a file selection dialog, allowing you to import a text file containing mappings from function addresses to function names. If the callstack provider for the current trace type only provides function addresses, a mapping file will be required to get the function names in the view. See the following sections for an example with LTTng-UST traces. +Clicking the '''Configure symbol providers''' ([[Image:images/binaries_obj.gif]]) icon will open a file selection dialog, allowing you to import a text file containing mappings from function addresses to function names. If the callstack provider for the current trace type only provides function addresses, a mapping file will be required to get the function names in the view. See the following sections for an example with LTTng-UST traces. === Using the Callstack View with LTTng-UST traces === @@ -2465,12 +2465,14 @@ the binary file or mapping manually: === Importing a binary or function name mapping file (for LTTng-UST <2.8 traces) === +''For LTTng-UST 2.8+, if it doesn't resolve symbols automatically, see the [[#Binary file location configuration | Source Lookup's Binary file location configuration]].'' + If you followed the steps in the previous section, you should have a Callstack View populated with function entries and exits. However, the view will display the function addresses instead of names in the intervals, which are not very useful by themselves. To get the actual function names, you need to: -* Click the '''Import Mapping File''' ([[Image:images/import.gif]]) button in the Callstack View. +* Click the '''Configure symbol providers''' ([[Image:images/binaries_obj.gif]]) button in the Callstack View. Then either: * Point to the binary that was used for taking the trace diff --git a/doc/org.eclipse.tracecompass.doc.user/doc/images/binaries_obj.gif b/doc/org.eclipse.tracecompass.doc.user/doc/images/binaries_obj.gif new file mode 100644 index 0000000000000000000000000000000000000000..5a08512dcb19e3c6002e363e7cfd030f1bf859f3 GIT binary patch literal 605 zcmZ?wbhEHb6krfwc*el+@8AEmYu6n;_2lE{U)v8oK6vKIwgcBsU3_r!@%OvWf4}?u zw{7;ps}H~3div|$vo9fOjU5XP9XfmO(v|BW8BLQ{o_PQ1+v8`i9Kwqn!wL@G_;U2t zm)5?S%T}#_@Z@D|*<@++5MB2qpX93Wytd%XhOCYTak z`1xzM9=$w&?asv;_gspmCHJn)nz+s}JR`cOrF-qMt~E!eZabgVI4QJ#c67^voC&L% zr!8K*are>g!oa?(A*ZRiIXGCdB_}I8BPTOED<{}J*hz|mD<`8T zrzd-oo11H}7w4=w^Ckra1_T5JFYjF$92ycDY{ffERXImZdSY;Ru%{FcUlW@!vzU2P zTSv2nj+TRf0;`64XEVE5YJ{b?9KVlUr;@BlSaMplE{nB)r@e~2V|rw4jHwXg#BQmL zo(~^&i|Hq1BvgFNoP0olJE4QqIgOQFo!3(FVc^529!bNhB}ED>wxi L?r^X&F<1itU`rGx literal 0 HcmV?d00001 diff --git a/doc/org.eclipse.tracecompass.doc.user/doc/images/import.gif b/doc/org.eclipse.tracecompass.doc.user/doc/images/import.gif deleted file mode 100644 index d38085ad9c273000d1c7ef3ea0144de87b776e46..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 327 zcmZ?wbhEHb6krfwxXQp_Z$IBYetux?yuh5fA^8gfa_0sYEDX$@8&R?(qGWMI>Eg)J z#W5Aj<7-wY)UHmhUz<|DHmzxW>%y~b3(wBod@a6qb$sorkr;FE?8n*u-Kt|Id9CY|Ns9p&;Tg@WMO1rP-f5pnGNz216#_0i3J`yQvJsm zgg7JQrk+bO_7dTAKGtDoB+_bkXzjJf5992w1-8iStkCP%_Lx#5y6_`@wFT09~= wevLfb(wrPzoISn09c+@45|YAGBqXFHg(kDGv$8VHpTB^88S}Cb7e@wb0E(nwr~m)} -- 2.34.1