Skip to content

Commit 9d3cc00

Browse files
Add missing properties to thread cpu frame
1 parent 0d8eda3 commit 9d3cc00

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/types/src/profiling.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,14 @@ export interface ThreadCpuSample {
1515
export type ThreadCpuStack = FrameId[];
1616

1717
export type ThreadCpuFrame = {
18-
function: string;
18+
function?: string;
1919
file?: string;
2020
lineno?: number;
2121
colno?: number;
2222
abs_path?: string;
23+
platform?: string;
24+
instruction_addr?: string;
25+
module?: string;
2326
};
2427

2528
export interface ThreadCpuProfile {

0 commit comments

Comments
 (0)