Skip to content

Commit 0371c0e

Browse files
committed
Use smaps_rollup everywhere
1 parent b4a20a5 commit 0371c0e

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,6 @@ target_compile_definitions(Monitoring
209209
$<$<BOOL:${APPLE}>:O2_MONITORING_OS_MAC>
210210
$<$<BOOL:${LINUX}>:O2_MONITORING_OS_LINUX>
211211
$<$<BOOL:${CC7}>:O2_MONITORING_OS_CC7>
212-
$<$<BOOL:${CS8}>:O2_MONITORING_OS_CS8>
213212
$<$<BOOL:${ApMon_FOUND}>:O2_MONITORING_WITH_APPMON>
214213
$<$<BOOL:${RdKafka_FOUND}>:O2_MONITORING_WITH_KAFKA>
215214
$<$<BOOL:${CURL_FOUND}>:O2_MONITORING_WITH_CURL>

src/ProcessMonitor.cxx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,7 @@ namespace o2
3131
namespace monitoring
3232
{
3333

34-
#ifdef O2_MONITORING_OS_CS8
3534
static constexpr auto SMAPS_FILE = "/proc/self/smaps_rollup";
36-
#else
37-
static constexpr auto SMAPS_FILE = "/proc/self/smaps";
38-
#endif
3935

4036
ProcessMonitor::ProcessMonitor()
4137
{

0 commit comments

Comments
 (0)