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.