-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow magic-trace with run perf with sampling if Intel PT is unavaila…
…ble. Signed-off-by: Aaron Lamoreaux <alamoreaux@janestreet.com>
- Loading branch information
1 parent
79c1b48
commit dad6974
Showing
17 changed files
with
1,184 additions
and
797 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
open Core | ||
open Async | ||
|
||
(* The result of decoding events is a pipe of those events, and a deferred reason why the | ||
decoder exited. *) | ||
(* The result of decoding events are pipe(s) of those events, and a deferred | ||
reason why the decoder exited. Multiple pipes will be returned if multiple | ||
snapshots were captured and processed, but they are returned in chronological | ||
order. Waiting on [close_result] will wait on pipes in sequential order. *) | ||
type t = | ||
{ events : Event.t Pipe.Reader.t | ||
{ events : Event.t Pipe.Reader.t list | ||
; close_result : unit Or_error.t Deferred.t | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.