Skip to content

Latest commit

 

History

History
48 lines (30 loc) · 4.06 KB

README.md

File metadata and controls

48 lines (30 loc) · 4.06 KB

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.