| Summary: | [LTTng] Add Support for LTTng 2.0 Tracer Toolchain | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Bernd Hufmann <bernd.hufmann> |
| Component: | LinuxTools | Assignee: | Bernd Hufmann <bernd.hufmann> |
| Status: | CLOSED FIXED | QA Contact: | Francois Chouinard <fchouinard> |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | xraynaud |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 374002 | ||
|
Description
Bernd Hufmann
With the commit of SHA a4b430044e55df80cdca1ece717968a5c7e0da99 the intial version of the support LTTng 2.0 tracer control is provided. For this feature, a new Eclipse view in the LTTng plug-in org.eclipse.linuxtools.lttng2.ui has been created. This view, the LTTng Control View, displays the tracer control information of a remote host in a tree structure. Multiple connections are possible. The connection to a remote host is done using SSH. For that, the SSH implementation of Eclipse RSE is used. All LTTng 2.0 tracer control commands are executed by executing the relevant command line through the RSE shell feature. With this delivery it is possible to create, start, stop and destroy trace sessions as well as configure channels and events. Both Kernel and UST traces are supported. This delivery supports the following LTTng 2.0 tracer control commands: - lttng create [options] [NAME] - lttng destroy [options] [NAME] - lttng list [OPTIONS] [SESSION [<OPTIONS>]] - lttng enable-channel NAME[,NAME2,...] [options] [channel_options] - lttng disable-channel NAME[,NAME2,...] [options] - lttng enable-event NAME[,NAME2,...] [options] [event_options] - lttng disable-event NAME[,NAME2,...] [options] - lttng start [options] [NAME] - lttng stop [options] [NAME] The following commands are not supported yet: - lttng calibrate [options] [calibrate_options] - lttng add-context -t TYPE What is still missing and will be implemented in later releases of this Linux Tools feature: - Import a trace directly from the Control View (Note: this can be done right now through the RSE Remote Systems View) - Support for missing commands - Handling of multiple versions of LTTng Tracer Control (server side) - Complete User Guide (it has been started!) For more information about the LTTng 2.0 tracer toolchain (server side) see http://lttng.org/lttng2.0. The User Guide was updated to describe the new feature: http://wiki.eclipse.org/Linux_Tools_Project/LTTng/User_Guide It is also integrated in the plug-in org.eclipse.linuxtools.lttng.help: Commit: Update LTTng User Guide for LTTng 2.0 Tracer Control SHA: afe11cea45ca50ea23f282545264e70eb834855e 2 new features were committed: Commit: Add support for LTTng 2.0 command add-context SHA: eb501c92159191439a04c9842d4d0b2232c0508e Commit: Add support for importing traces to tracing project SHA: 1e0685e7ca44c17fab9a34a08eb6eb3ec01bb3c3 1 new feature and more JUnit tests were committed: Commit: Add support for LTTng 2.0 command calibrate SHA: 7417cf82d5ee9eb6d304d2f17e8540c0a6fecf58 Commit: Add JUnit tests for LTTng 2.0 tracer control (add-context/calibrate) SHA: aa66f3d3718d616985c1ef3df0ce93d99bc3ff32 1 new feature was added: Commit: Add preferences for LTTng 2.0 tracer control SHA: 6688ea3d85bb64b49a3fd46b1b2d59c1a87e770c The following preferences were added: - configuring tracing group (option -g) - configuring logging of commands and command result to log file - configuring verbose level (options -v, -vv, -vvv) used for logging to file Another commit was done for this bug: Commit: Add groundwork for multiple version support of LTTng 2.0 tracer control SHA: 0e1216a15b6badd10df4e6a2cd68aad040521a22 - Feature finished. - Documentation available in help plug-in as well as on the Linux Tools User Guide (Wiki) Delivered with 1.0 |