softdevteam/hwtracer

Name: hwtracer

Owner: Software Development Team

Description: Trace a program using CPU tracer technology.

Created: 2017-11-17 15:03:17.0

Updated: 2018-05-18 16:01:11.0

Pushed: 2018-05-24 14:28:09.0

Homepage:

Size: 166

Language: C

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

hwtracer

A small Rust/C library to trace sections of the current process using CPU tracing technology.

This library only supports Intel Processor Trace, but in the future we hope to support alternatives such as Arm's CoreSight.

This is experimental code.

Notes

When running cargo, you can set IPT_PATH=... to specify a path to a system libipt to use. If this variable is absent, Cargo will download and build libipt for you.

If you let Cargo download a libipt, you will have to set your LD_LIBRARY_PATH to c_deps/inst/lib before using hwtracer. This is due to a Cargo limitation.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.