Skip to content

Commit

Permalink
Merge pull request #97 from DataDog/rgs/remove-unnecessary-settings
Browse files Browse the repository at this point in the history
remove unnecessary settings
  • Loading branch information
richardstartin authored May 14, 2024
2 parents abf5c31 + 594b97b commit 58e6110
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions ddprof-lib/src/main/cpp/flightRecorder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -668,12 +668,6 @@ void Recording::writeRecordingInfo(Buffer* buf) {
void Recording::writeSettings(Buffer* buf, Arguments& args) {
writeBoolSetting(buf, T_ACTIVE_RECORDING, "asyncprofiler", true);
writeStringSetting(buf, T_ACTIVE_RECORDING, "version", PROFILER_VERSION);
writeStringSetting(buf, T_ACTIVE_RECORDING, "ring", SETTING_RING[args._ring]);
writeStringSetting(buf, T_ACTIVE_RECORDING, "cstack", SETTING_CSTACK[args._cstack]);
writeStringSetting(buf, T_ACTIVE_RECORDING, "filter", args._filter);
writeIntSetting(buf, T_ACTIVE_RECORDING, "jstackdepth", args._jstackdepth);
writeIntSetting(buf, T_ACTIVE_RECORDING, "safemode", args._safe_mode);
writeIntSetting(buf, T_ACTIVE_RECORDING, "jfropts", args._jfr_options);
writeIntSetting(buf, T_ACTIVE_RECORDING, "tscfrequency", TSC::frequency());
writeStringSetting(buf, T_ACTIVE_RECORDING, "loglevel", Log::LEVEL_NAME[Log::level()]);
writeBoolSetting(buf, T_ACTIVE_RECORDING, "hotspot", VM::isHotspot());
Expand Down

0 comments on commit 58e6110

Please sign in to comment.