summaryrefslogtreecommitdiffstats
path: root/cachepc
Commit message (Collapse)AuthorAgeFilesLines
* Add syscall to deinit events to prevent blocking on sendLouis Burda2023-02-074-3/+38
|
* Add combined testcase based on exit codesLouis Burda2023-02-072-74/+3
|
* fixup! Swap gp registers to xmm in vmenterLouis Burda2023-02-063-6/+9
|
* Swap gp registers to xmm in vmenterLouis Burda2023-02-062-8/+0
|
* qemu-targetstep: Attempt to track guest process gfn when running in userspaceLouis Burda2023-02-067-2/+29
| | | | Seems like single-stepping the guest with LAPIC influences the guest scheduler behaviour, since just a single step inside the target gfn (to determine if its running in userspace), is enough to for us to never reach the GUEST_STOP_TRACK event. FWICT the single-stepping is not frequent and does not take long enough to justify never reaching the stop event.
* Fix stepping inconsistency by moving oneshot after primeeLouis Burda2023-02-064-17/+16
|
* Simplify target gfn stepping by tracking a single pageLouis Burda2023-02-032-11/+2
|
* Properly implement target gfn steppingLouis Burda2023-02-038-45/+57
|
* qemu-pagestep is quasi-realtime when suppresing slow kernel loggingLouis Burda2023-02-024-14/+49
|
* Debug single-stepping on page-boundaries in page_stepLouis Burda2023-02-025-10/+16
|
* Set default frequency to 1.5GHz and adjust apic timer divide accordinglyLouis Burda2023-02-023-4/+6
|
* Add event batching and handling of instructions loads on page boundaries for ↵Louis Burda2023-02-027-24/+48
| | | | CPC_TRACK_PAGES
* Add guest provisioning scripts and instructionsLouis Burda2023-02-011-0/+2
|
* fixup! Event batchingLouis Burda2023-02-012-21/+17
|
* Properly initialize locksLouis Burda2023-02-012-0/+3
|
* Fix build, add more build instructions to READMELouis Burda2023-02-011-1/+1
|
* Add track config to TRACK_MODE ioctl and combine TRACK_STEPS_* modesLouis Burda2023-01-304-33/+42
|
* Event batchingLouis Burda2023-01-304-83/+154
|
* Make CPC_TRACK_PAGES_RESOLVE the default since no extra overheadLouis Burda2023-01-275-21/+17
|
* Consistent use of cpc shorthand instead of cachepcLouis Burda2023-01-2710-447/+428
|
* Add CPC_TRACK_STEPS and make apic reset more robustLouis Burda2023-01-275-5/+17
|
* Added initial qemu-eviction and qemu-pagestepLouis Burda2023-01-275-28/+40
| | | | Qemu-eviction seems to get stuck somewhere, potentially in the VC-handler(?) since we use the active gfn after resuming execution. Added qemu-pagestep to show viability of page-stepping for later use.
* Basic qemu eviction test with signalled stepping and added rip syscallLouis Burda2023-01-266-84/+97
|
* Use mfence instead of lfence for memory barrierLouis Burda2023-01-253-3/+6
|
* Debug copy_to_user occasionally failing in kvm-stepLouis Burda2023-01-253-31/+24
|
* Remove cachepc objects from kvm-amd moduleLouis Burda2023-01-255-35/+37
|
* Replace bloated cache_ds alloc methodLouis Burda2023-01-256-470/+83
|
* Create flat binaries to support more complex guestsLouis Burda2023-01-241-1/+0
|
* Page track support (without speculation)Louis Burda2023-01-242-19/+19
|
* Remove unused ioctlsLouis Burda2023-01-231-43/+0
|
* Use 16-bit realmode assembly for guests (!)Louis Burda2023-01-235-11/+99
|
* Reimplement test and prime+probe in asm, make self-tests harder and improve ↵Louis Burda2023-01-217-426/+290
| | | | noise
* Stash asm version of hwpf testLouis Burda2023-01-194-21/+85
|
* Many fixes, more precise single-stepping and more robust self-testsLouis Burda2023-01-195-342/+256
|
* Fixup kvm-eviction and refactor kvm-stepLouis Burda2023-01-176-108/+211
|
* Fix kvm-eviction kvm & sev supportLouis Burda2023-01-113-22/+27
|
* Restructuring of kernel changesLouis Burda2023-01-112-12/+4
|
* Stash fixupsLouis Burda2023-01-103-173/+3
|
* Begin ioctl and test-case overhaulLouis Burda2023-01-104-364/+139
|
* Stash minor fixesLouis Burda2023-01-092-13/+22
|
* Stash previous changesLouis Burda2023-01-052-2/+4
|
* Fix page fault handling and investigate exec stepping with minimal vmLouis Burda2022-12-195-65/+127
|
* Adding support for exec based tracking (unstable)Louis Burda2022-12-117-160/+216
|
* Implement VMSA change based single stepping and guest vmmcall intercept ↵Louis Burda2022-11-257-52/+80
| | | | among other things
* Add program to verify SVME bit is set during VMRUNLouis Burda2022-11-224-3/+27
|
* Improved single stepping and added initial cpuid eventsLouis Burda2022-11-227-30/+86
|
* APIC single stepping workingLouis Burda2022-11-162-4/+8
|
* Various fixes and improvementsLouis Burda2022-11-154-24/+80
| | | | Fixed vmsa decode for getting rip in debug mode. Added state machine to data access tracking. Handle mutliple unexpected data access page faults
* Rename filesLouis Burda2022-11-155-2/+2
|
* Rename sevstep to cachepc trackingLouis Burda2022-11-125-40/+40
|