@sentry/profiling-node 8.39.0-dev.0 → 8.39.0

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.
Files changed (31) hide show
  1. package/bindings/cpu_profiler.cc +3 -3
  2. package/lib/esm/package.json +1 -1
  3. package/lib/sentry_cpu_profiler-darwin-arm64-108.node +0 -0
  4. package/lib/sentry_cpu_profiler-darwin-arm64-115.node +0 -0
  5. package/lib/sentry_cpu_profiler-darwin-arm64-127.node +0 -0
  6. package/lib/sentry_cpu_profiler-darwin-arm64-93.node +0 -0
  7. package/lib/sentry_cpu_profiler-darwin-x64-108.node +0 -0
  8. package/lib/sentry_cpu_profiler-darwin-x64-115.node +0 -0
  9. package/lib/sentry_cpu_profiler-darwin-x64-127.node +0 -0
  10. package/lib/sentry_cpu_profiler-darwin-x64-93.node +0 -0
  11. package/lib/sentry_cpu_profiler-linux-arm64-glibc-108.node +0 -0
  12. package/lib/sentry_cpu_profiler-linux-arm64-glibc-115.node +0 -0
  13. package/lib/sentry_cpu_profiler-linux-arm64-glibc-127.node +0 -0
  14. package/lib/sentry_cpu_profiler-linux-arm64-glibc-93.node +0 -0
  15. package/lib/sentry_cpu_profiler-linux-arm64-musl-108.node +0 -0
  16. package/lib/sentry_cpu_profiler-linux-arm64-musl-115.node +0 -0
  17. package/lib/sentry_cpu_profiler-linux-arm64-musl-127.node +0 -0
  18. package/lib/sentry_cpu_profiler-linux-arm64-musl-93.node +0 -0
  19. package/lib/sentry_cpu_profiler-linux-x64-glibc-108.node +0 -0
  20. package/lib/sentry_cpu_profiler-linux-x64-glibc-115.node +0 -0
  21. package/lib/sentry_cpu_profiler-linux-x64-glibc-127.node +0 -0
  22. package/lib/sentry_cpu_profiler-linux-x64-glibc-93.node +0 -0
  23. package/lib/sentry_cpu_profiler-linux-x64-musl-108.node +0 -0
  24. package/lib/sentry_cpu_profiler-linux-x64-musl-115.node +0 -0
  25. package/lib/sentry_cpu_profiler-linux-x64-musl-127.node +0 -0
  26. package/lib/sentry_cpu_profiler-linux-x64-musl-93.node +0 -0
  27. package/lib/sentry_cpu_profiler-win32-x64-108.node +0 -0
  28. package/lib/sentry_cpu_profiler-win32-x64-115.node +0 -0
  29. package/lib/sentry_cpu_profiler-win32-x64-127.node +0 -0
  30. package/lib/sentry_cpu_profiler-win32-x64-93.node +0 -0
  31. package/package.json +5 -5
@@ -333,9 +333,8 @@ void SentryProfile::Start(Profiler *profiler) {
333
333
 
334
334
  // Initialize the CPU Profiler
335
335
  profiler->cpu_profiler->StartProfiling(
336
- profile_title,
337
- {v8::CpuProfilingMode::kCallerLineNumbers,
338
- v8::CpuProfilingOptions::kNoSampleLimit, kSamplingInterval});
336
+ profile_title, v8::CpuProfilingMode::kCallerLineNumbers, true,
337
+ v8::CpuProfilingOptions::kNoSampleLimit);
339
338
 
340
339
  // listen for memory sample ticks
341
340
  profiler->measurements_ticker.add_cpu_listener(id, cpu_sampler_cb);
@@ -1169,6 +1168,7 @@ napi_value Init(napi_env env, napi_value exports) {
1169
1168
  }
1170
1169
 
1171
1170
  Profiler *profiler = new Profiler(env, isolate);
1171
+ profiler->cpu_profiler->SetSamplingInterval(kSamplingInterval);
1172
1172
 
1173
1173
  if (napi_set_instance_data(env, profiler, FreeAddonData, NULL) != napi_ok) {
1174
1174
  napi_throw_error(env, nullptr, "Failed to set instance data for profiler.");
@@ -1 +1 @@
1
- {"type":"module","version":"8.39.0-dev.0","sideEffects":false}
1
+ {"type":"module","version":"8.39.0","sideEffects":false}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/profiling-node",
3
- "version": "8.39.0-dev.0",
3
+ "version": "8.39.0",
4
4
  "description": "Official Sentry SDK for Node.js Profiling",
5
5
  "repository": "git://github.com/getsentry/sentry-javascript.git",
6
6
  "homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/profiling-node",
@@ -75,10 +75,10 @@
75
75
  "test": "cross-env SENTRY_PROFILER_BINARY_DIR=lib jest --config jest.config.js"
76
76
  },
77
77
  "dependencies": {
78
- "@sentry/core": "8.39.0-dev.0",
79
- "@sentry/node": "8.39.0-dev.0",
80
- "@sentry/types": "8.39.0-dev.0",
81
- "@sentry/utils": "8.39.0-dev.0",
78
+ "@sentry/core": "8.39.0",
79
+ "@sentry/node": "8.39.0",
80
+ "@sentry/types": "8.39.0",
81
+ "@sentry/utils": "8.39.0",
82
82
  "detect-libc": "^2.0.2",
83
83
  "node-abi": "^3.61.0"
84
84
  },