DynamoRIO / DynamoRIO/dynamorio

try using AMD LWP to speed up dynamic instru data gathering

Open
#1,310 1 comment 0 reactions 0 assignees View on GitHub
Migrated Performance Priority-Medium Type-Feature
Dominant language
C
Stars
3.2k
Forks
629
Avg merge
2d 15h
Merged PRs (30d)
31

Description

_From [bruen...@google.com](https://code.google.com/u/109494838902877177630/) on November 05, 2013 12:32:19_

amd64-vol2-sys.pdf 13.4

Instead of just having perf ctrs and app has to sample, LWP has a circular
buffer that collects data and when full interrupts app.
You can set buffer to any size you want.
Currently can only count cycles, instrs retired, branches retired, dcache
misses, or you can insert your own event record into the buffer.
So maybe could use this buffer for more efficient circular buffer than
fully software-implemented: have hardware check when full, etc.

_Original issue: http://code.google.com/p/dynamorio/issues/detail?id=1310_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.