diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-08-11 23:48:01 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-08-11 23:48:01 +0200 |
commit | 5af28bdf6597d963a0e0ed8f616477c9a7613aa5 (patch) | |
tree | 7e56e3136d2d0d9ef5a4d08c5119eef4fed68daf /configd/src/apps/sentinel/metrics.h | |
parent | 58c64dcee69101bf08bd632c2281feae9fa8474b (diff) |
- make the construction of the pstack command string safe.
- Allow for immediate KILL without requesting stack dump.
Diffstat (limited to 'configd/src/apps/sentinel/metrics.h')
-rw-r--r-- | configd/src/apps/sentinel/metrics.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/configd/src/apps/sentinel/metrics.h b/configd/src/apps/sentinel/metrics.h index 87072410ef0..dd24bb2280d 100644 --- a/configd/src/apps/sentinel/metrics.h +++ b/configd/src/apps/sentinel/metrics.h @@ -3,8 +3,7 @@ #include <sys/time.h> -namespace config { -namespace sentinel { +namespace config::sentinel { struct StartMetrics { unsigned long currentlyRunningServices; @@ -23,6 +22,5 @@ struct StartMetrics { void maybeLog(); }; -} // end namespace config::sentinel -} // end namespace config +} |