Skip to content

Commit

Permalink
Add toolkit and platform in profile meta
Browse files Browse the repository at this point in the history
  • Loading branch information
nisargjhaveri committed Dec 5, 2024
1 parent 6db51b2 commit a7493d9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/profile-logic/import/simpleperf.js
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,8 @@ class FirefoxProfile {
symbolicationNotSupported: true,
markerSchema: [],

platform: 'Android',
toolkit: 'android',
importedFrom: 'Simpleperf',

// Do not distinguish between different stack types?
Expand Down
4 changes: 4 additions & 0 deletions src/test/unit/__snapshots__/profile-conversion.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -544983,13 +544983,15 @@ Object {
"interval": 0,
"keepProfileThreadOrder": true,
"markerSchema": Array [],
"platform": "Android",
"preprocessedProfileVersion": 51,
"processType": 0,
"product": "com.example.sampleapplication",
"sourceCodeIsNotOnSearchfox": true,
"stackwalk": 0,
"startTime": 0,
"symbolicationNotSupported": true,
"toolkit": "android",
"usesOnlyOneStackType": true,
"version": 30,
},
Expand Down Expand Up @@ -636417,13 +636419,15 @@ Object {
"interval": 0,
"keepProfileThreadOrder": true,
"markerSchema": Array [],
"platform": "Android",
"preprocessedProfileVersion": 51,
"processType": 0,
"product": "com.example.sampleapplication",
"sourceCodeIsNotOnSearchfox": true,
"stackwalk": 0,
"startTime": 0,
"symbolicationNotSupported": true,
"toolkit": "android",
"usesOnlyOneStackType": true,
"version": 30,
},
Expand Down

0 comments on commit a7493d9

Please sign in to comment.