File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ export interface DebugMeta {
5
5
images ?: Array < DebugImage > ;
6
6
}
7
7
8
- export type DebugImage = WasmDebugImage | SourceMapDebugImage ;
8
+ export type DebugImage = WasmDebugImage | SourceMapDebugImage | MachoDebugImage ;
9
9
10
10
interface WasmDebugImage {
11
11
type : 'wasm' ;
@@ -20,3 +20,11 @@ interface SourceMapDebugImage {
20
20
code_file : string ; // filename
21
21
debug_id : string ; // uuid
22
22
}
23
+
24
+ interface MachoDebugImage {
25
+ type : 'macho' ;
26
+ debug_id : string ;
27
+ image_addr : string ;
28
+ image_size : number ;
29
+ code_file : string ;
30
+ }
Original file line number Diff line number Diff line change 1
1
import type { DebugImage } from './debugMeta' ;
2
+ import { MeasurementUnit } from './measurement' ;
3
+
2
4
export type ThreadId = string ;
3
5
export type FrameId = number ;
4
6
export type StackId = number ;
5
7
6
8
export interface ThreadCpuSample {
7
9
stack_id : StackId ;
8
10
thread_id : ThreadId ;
11
+ queue_address ?: string ;
9
12
elapsed_since_start_ns : string ;
10
13
}
11
14
@@ -68,4 +71,11 @@ export interface Profile {
68
71
relative_start_ns : string ;
69
72
relative_end_ns : string ;
70
73
} [ ] ;
74
+ measurements ?: Record < string , {
75
+ unit : MeasurementUnit ;
76
+ values : {
77
+ elapsed_since_start_ns : number ;
78
+ value : number ;
79
+ } [ ] ;
80
+ } > ;
71
81
}
You can’t perform that action at this time.
0 commit comments