@parca/profile 0.19.92 → 0.19.93

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.19.93](https://github.com/parca-dev/parca/compare/@parca/profile@0.19.92...@parca/profile@0.19.93) (2025-12-04)
7
+
8
+ **Note:** Version bump only for package @parca/profile
9
+
6
10
  ## [0.19.92](https://github.com/parca-dev/parca/compare/@parca/profile@0.19.91...@parca/profile@0.19.92) (2025-12-04)
7
11
 
8
12
  **Note:** Version bump only for package @parca/profile
@@ -1 +1 @@
1
- {"version":3,"file":"filterPresets.d.ts","sourceRoot":"","sources":["../../../../src/ProfileView/components/ProfileFilters/filterPresets.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,qBAAqB,CAAC;AAEvD,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,KAAK,CAAC,IAAI,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC,CAAC;IAC1C,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;CAChC;AAED,eAAO,MAAM,aAAa,EAAE,YAAY,EAyJvC,CAAC;AAIF,eAAO,MAAM,WAAW,GAAI,KAAK,MAAM,KAAG,OAEzC,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,KAAK,MAAM,KAAG,YAAY,GAAG,SAE3D,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,cAAc,MAAM,KAAG,YAAY,EAO3E,CAAC"}
1
+ {"version":3,"file":"filterPresets.d.ts","sourceRoot":"","sources":["../../../../src/ProfileView/components/ProfileFilters/filterPresets.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,qBAAqB,CAAC;AAEvD,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,KAAK,CAAC,IAAI,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC,CAAC;IAC1C,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;CAChC;AAED,eAAO,MAAM,aAAa,EAAE,YAAY,EAqMvC,CAAC;AAIF,eAAO,MAAM,WAAW,GAAI,KAAK,MAAM,KAAG,OAEzC,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,KAAK,MAAM,KAAG,YAAY,GAAG,SAE3D,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,cAAc,MAAM,KAAG,YAAY,EAO3E,CAAC"}
@@ -163,6 +163,50 @@ export const filterPresets = [
163
163
  },
164
164
  ],
165
165
  },
166
+ {
167
+ key: 'hide_tokio_frames',
168
+ name: 'Hide Tokio Frames',
169
+ description: 'Excludes Tokio runtime frames from the profile',
170
+ filters: [
171
+ {
172
+ type: 'frame',
173
+ field: 'function_name',
174
+ matchType: 'not_starts_with',
175
+ value: 'tokio::',
176
+ },
177
+ {
178
+ type: 'frame',
179
+ field: 'function_name',
180
+ matchType: 'not_starts_with',
181
+ value: '<tokio::',
182
+ },
183
+ ],
184
+ },
185
+ {
186
+ key: 'hide_rust_panic_backtrace',
187
+ name: 'Hide Rust Panic Backtrace Infrastructure',
188
+ description: 'Excludes Rust panic and backtrace infrastructure frames from the profile',
189
+ filters: [
190
+ {
191
+ type: 'frame',
192
+ field: 'function_name',
193
+ matchType: 'not_starts_with',
194
+ value: 'std::panic',
195
+ },
196
+ {
197
+ type: 'frame',
198
+ field: 'function_name',
199
+ matchType: 'not_starts_with',
200
+ value: '<core::panic',
201
+ },
202
+ {
203
+ type: 'frame',
204
+ field: 'function_name',
205
+ matchType: 'not_starts_with',
206
+ value: 'std::sys::backtrace',
207
+ },
208
+ ],
209
+ },
166
210
  ];
167
211
  const presetKeys = new Set(filterPresets.map(preset => preset.key));
168
212
  export const isPresetKey = (key) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parca/profile",
3
- "version": "0.19.92",
3
+ "version": "0.19.93",
4
4
  "description": "Profile viewing libraries",
5
5
  "dependencies": {
6
6
  "@floating-ui/react": "^0.27.12",
@@ -79,5 +79,5 @@
79
79
  "access": "public",
80
80
  "registry": "https://registry.npmjs.org/"
81
81
  },
82
- "gitHead": "b86381ecdf3c79d49634ee2887461a673429ffdb"
82
+ "gitHead": "b028cc438042caab899affc60d4a174af3dc9b9f"
83
83
  }
@@ -174,6 +174,50 @@ export const filterPresets: FilterPreset[] = [
174
174
  },
175
175
  ],
176
176
  },
177
+ {
178
+ key: 'hide_tokio_frames',
179
+ name: 'Hide Tokio Frames',
180
+ description: 'Excludes Tokio runtime frames from the profile',
181
+ filters: [
182
+ {
183
+ type: 'frame',
184
+ field: 'function_name',
185
+ matchType: 'not_starts_with',
186
+ value: 'tokio::',
187
+ },
188
+ {
189
+ type: 'frame',
190
+ field: 'function_name',
191
+ matchType: 'not_starts_with',
192
+ value: '<tokio::',
193
+ },
194
+ ],
195
+ },
196
+ {
197
+ key: 'hide_rust_panic_backtrace',
198
+ name: 'Hide Rust Panic Backtrace Infrastructure',
199
+ description: 'Excludes Rust panic and backtrace infrastructure frames from the profile',
200
+ filters: [
201
+ {
202
+ type: 'frame',
203
+ field: 'function_name',
204
+ matchType: 'not_starts_with',
205
+ value: 'std::panic',
206
+ },
207
+ {
208
+ type: 'frame',
209
+ field: 'function_name',
210
+ matchType: 'not_starts_with',
211
+ value: '<core::panic',
212
+ },
213
+ {
214
+ type: 'frame',
215
+ field: 'function_name',
216
+ matchType: 'not_starts_with',
217
+ value: 'std::sys::backtrace',
218
+ },
219
+ ],
220
+ },
177
221
  ];
178
222
 
179
223
  const presetKeys = new Set(filterPresets.map(preset => preset.key));