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
249249 if ( profile . frames [ stackTop . frameId ] === undefined ) {
250250 profile . frames [ stackTop . frameId ] = {
251251 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 ,
255255 } ;
256256 }
257257
Original file line number Diff line number Diff line change @@ -14,8 +14,9 @@ export type ThreadCpuStack = FrameId[];
1414export type ThreadCpuFrame = {
1515 function : string ;
1616 file ?: string ;
17- line ?: number ;
18- column ?: number ;
17+ lineno ?: number ;
18+ colno ?: number ;
19+ abs_path ?: string ;
1920} ;
2021
2122export interface ThreadCpuProfile {
You can’t perform that action at this time.
0 commit comments