HomePhabricator

[XRay] basic mode PID and TID always fetch

Authored by dberris on Jul 11 2018, 12:14 AM.

Description

[XRay] basic mode PID and TID always fetch

Summary: XRayRecords now includes a PID field. Basic handlers fetch pid and tid each time they are called instead of caching the value. Added a testcase that calls fork and checks if the child TID is different from the parent TID to verify that the processes' TID are different in the trace.

Reviewers: dberris, Maknee

Reviewed By: dberris, Maknee

Subscribers: kpw, llvm-commits, #sanitizers

Differential Revision: https://reviews.llvm.org/D49025

llvm-svn: 336769

Details

Committed
dberrisJul 11 2018, 12:14 AM
Reviewer
dberris
Differential Revision
D49025: [XRay] basic mode PID and TID always fetch
Parents
rG02867f0fa3e6: [X86] The TEST instruction is eliminated when BSF/TZCNT is used
Branches
Unknown
Tags
Unknown