@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.
- package/bindings/cpu_profiler.cc +3 -3
- package/lib/esm/package.json +1 -1
- package/lib/sentry_cpu_profiler-darwin-arm64-108.node +0 -0
- package/lib/sentry_cpu_profiler-darwin-arm64-115.node +0 -0
- package/lib/sentry_cpu_profiler-darwin-arm64-127.node +0 -0
- package/lib/sentry_cpu_profiler-darwin-arm64-93.node +0 -0
- package/lib/sentry_cpu_profiler-darwin-x64-108.node +0 -0
- package/lib/sentry_cpu_profiler-darwin-x64-115.node +0 -0
- package/lib/sentry_cpu_profiler-darwin-x64-127.node +0 -0
- package/lib/sentry_cpu_profiler-darwin-x64-93.node +0 -0
- package/lib/sentry_cpu_profiler-linux-arm64-glibc-108.node +0 -0
- package/lib/sentry_cpu_profiler-linux-arm64-glibc-115.node +0 -0
- package/lib/sentry_cpu_profiler-linux-arm64-glibc-127.node +0 -0
- package/lib/sentry_cpu_profiler-linux-arm64-glibc-93.node +0 -0
- package/lib/sentry_cpu_profiler-linux-arm64-musl-108.node +0 -0
- package/lib/sentry_cpu_profiler-linux-arm64-musl-115.node +0 -0
- package/lib/sentry_cpu_profiler-linux-arm64-musl-127.node +0 -0
- package/lib/sentry_cpu_profiler-linux-arm64-musl-93.node +0 -0
- package/lib/sentry_cpu_profiler-linux-x64-glibc-108.node +0 -0
- package/lib/sentry_cpu_profiler-linux-x64-glibc-115.node +0 -0
- package/lib/sentry_cpu_profiler-linux-x64-glibc-127.node +0 -0
- package/lib/sentry_cpu_profiler-linux-x64-glibc-93.node +0 -0
- package/lib/sentry_cpu_profiler-linux-x64-musl-108.node +0 -0
- package/lib/sentry_cpu_profiler-linux-x64-musl-115.node +0 -0
- package/lib/sentry_cpu_profiler-linux-x64-musl-127.node +0 -0
- package/lib/sentry_cpu_profiler-linux-x64-musl-93.node +0 -0
- package/lib/sentry_cpu_profiler-win32-x64-108.node +0 -0
- package/lib/sentry_cpu_profiler-win32-x64-115.node +0 -0
- package/lib/sentry_cpu_profiler-win32-x64-127.node +0 -0
- package/lib/sentry_cpu_profiler-win32-x64-93.node +0 -0
- package/package.json +5 -5
package/bindings/cpu_profiler.cc
CHANGED
|
@@ -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
|
-
|
|
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.");
|
package/lib/esm/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"type":"module","version":"8.39.0
|
|
1
|
+
{"type":"module","version":"8.39.0","sideEffects":false}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/profiling-node",
|
|
3
|
-
"version": "8.39.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
|
|
79
|
-
"@sentry/node": "8.39.0
|
|
80
|
-
"@sentry/types": "8.39.0
|
|
81
|
-
"@sentry/utils": "8.39.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
|
},
|