File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -249,9 +249,9 @@ export function convertJSSelfProfileToSampledFormat(input: JSSelfProfile): Profi
249
249
if ( profile . frames [ stackTop . frameId ] === undefined ) {
250
250
profile . frames [ stackTop . frameId ] = {
251
251
function : frame . name ,
252
- file : frame . resourceId ? input . resources [ frame . resourceId ] : undefined ,
253
- line : frame . line ,
254
- column : frame . column ,
252
+ abs_path : typeof frame . resourceId === 'number' ? input . resources [ frame . resourceId ] : undefined ,
253
+ lineno : frame . line ,
254
+ colno : frame . column ,
255
255
} ;
256
256
}
257
257
Original file line number Diff line number Diff line change @@ -14,8 +14,9 @@ export type ThreadCpuStack = FrameId[];
14
14
export type ThreadCpuFrame = {
15
15
function : string ;
16
16
file ?: string ;
17
- line ?: number ;
18
- column ?: number ;
17
+ lineno ?: number ;
18
+ colno ?: number ;
19
+ abs_path ?: string ;
19
20
} ;
20
21
21
22
export interface ThreadCpuProfile {
You can’t perform that action at this time.
0 commit comments