Comments (2)
See doc/howto_capture.md:
Sideband and trace are time-correlated. Since Intel PT and perf use different
time domains, we need a few parameters to translate between the two domains.
The parameters can be found instruct perf_event_mmap_page
, which is declared
in/usr/include/linux/perf_event.h
:
- time_shift
- time_mult
- time_zero
The header also documents how to calculate TSC from perf_event timestamps.
The ptdump and ptxed sample tools do this translation but we need to supply the
parameters via corresponding options:
- --pevent:time-shift
- --pevent:time-mult
- --pevent:time-zero
from libipt.
Let me have a look. Thx.
from libipt.
Related Issues (20)
- Understanding the IntelPT trace before VMEXIT and after VMENTRY HOT 2
- Make ptic_error more specific? HOT 18
- Inconsistent block boundaries HOT 2
- What exactly is a block? HOT 2
- Are image section caches thread-safe? HOT 3
- workload failed :no such file or directory HOT 1
- macOS HOT 4
- fatal error: xed-interface.h: No such file or directory HOT 2
- build ptxed HOT 2
- About synchronization HOT 2
- about pt record HOT 2
- ‘ptic_error’ undeclared when running "make user"
- about parallel HOT 2
- How to use ptxed with the buffers generated by the perf_event_open system call? HOT 10
- `unexpected packet context` in initial sync point HOT 11
- Decoder out of sync and not enough recorded data. HOT 6
- Decoding errors when XED is not initialised correctly HOT 28
- questions about TIP.PGD with IP HOT 3
- Decoding trace in reverse execution order HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libipt.