commit | 9d4ce5f804aef91aa2e1588c9ab97841a1b705f8 | [log] [tgz] |
---|---|---|
author | Doug Evans <dje@google.com> | Sat Mar 11 17:46:22 2017 -0800 |
committer | Doug Evans <dje@google.com> | Wed Mar 15 15:19:22 2017 +0000 |
tree | abae417395f2075578c3bd6f45c4cf0c2311c112 | |
parent | a6ae7fb283a1ac3cf57ff4ee4a79bb0c49fade13 [diff] |
rework pt_image_read_cold, pt_image_read This cleans up using a callback vs not using a callback. pt_image_read: If sections haven't been loaded then punt to the callback immediately. Otherwise try to fetch the section, and if not mapped again punt to the callback. pt_image_read_cold: Only called if not using a callback, and when called the caller has already moved the desired section to the front of the list. Change-Id: Ibff476acfa96f05b8a9ba526906ecae3ae9f7d09
This is the processor trace (PT) support from Intel. This repo was originally cloned from https://github.com/01org/processor-trace, with its master branch at commit afbae2983b1978f1f1fe267bfc3fd24a7e41673a.
To see differences with upstream, assuming master is up to date with origin/master:
bash$ git remote add github https://github.com/01org/processor-trace bash$ git fetch github bash$ git checkout master bash$ git cherry -v github/master
Commits that begin with “-” are ones upstream has and we do not. Commits that begin with “+” are ones we have and upstream does not.