Skip to content

Commit 684430e

Browse files
committed
Inverse logic to use smaps_rollup
Consider not having smaps_rollup a special case, rather than the other way around.
1 parent b4a20a5 commit 684430e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ProcessMonitor.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ namespace o2
3131
namespace monitoring
3232
{
3333

34-
#ifdef O2_MONITORING_OS_CS8
35-
static constexpr auto SMAPS_FILE = "/proc/self/smaps_rollup";
36-
#else
34+
#ifdef O2_MONITORING_OS_CS7
3735
static constexpr auto SMAPS_FILE = "/proc/self/smaps";
36+
#else
37+
static constexpr auto SMAPS_FILE = "/proc/self/smaps_rollup";
3838
#endif
3939

4040
ProcessMonitor::ProcessMonitor()

0 commit comments

Comments
 (0)