Skip to content
Provides examples, traces and documentation for the Trace Compass Scripting feature
JavaScript
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
traces
utils/javascript
LICENSE
README.md

README.md

tracecompass-ease-scripting

This repo contains documentation, examples and utility scripts for the Trace Compass Scripting feature. It contains material developed and written by the community, as a complement to what is provided with Trace Compass itself.

Contributions are welcome! Make sure to add the appropriate traces if the example scripts require specific events not easily available, so that users can try the scripts and get actual results.

Content

Here's a list of example scripts for Trace Compass. In the example folder are example scripts that work with sample traces, but may need to be fine-tuned to one's needs.

In the utils directory are utility scripts that can be used as is with the right use case. They may require some parameters to run properly.

Examples:

Utilities:

  • utils/javascript/exportUstSymbols.js: Export symbols from LTTng-UST traces of applications instrumented with -finstrument-function. It generates content in the GNU nm's format that can then be imported on any machine to configure symbols correctly for that trace. Symbols needs to be properly configured before running this script.

References

Documentation

Here are links to the official documentation of the Trace Compass Scripting Feature.

Community

Here's a list of references, blog posts, etc, produced by the Community.

You can’t perform that action at this time.