Skip to content

Commit

Permalink
Allow enabling experimenta JVMTI wallclock sampler (take 2)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbachorik committed Sep 19, 2024
1 parent 662bb0c commit 4b5dd56
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -412,11 +412,10 @@ public static long getLong(ConfigProvider configProvider, String key) {
}

public static boolean useJvmtiWallclockSampler(ConfigProvider configProvider) {
return !isWallClockProfilerEnabled(configProvider)
&& getBoolean(
configProvider,
PROFILING_DATADOG_PROFILER_WALL_JVMTI,
PROFILING_DATADOG_PROFILER_WALL_JVMTI_DEFAULT);
return getBoolean(
configProvider,
PROFILING_DATADOG_PROFILER_WALL_JVMTI,
PROFILING_DATADOG_PROFILER_WALL_JVMTI_DEFAULT);
}

private static String normalizeKey(String key) {
Expand Down

0 comments on commit 4b5dd56

Please sign in to comment.