From ae2704c2b0bebcd4eac52657de424f345b1911f8 Mon Sep 17 00:00:00 2001 From: Nikita Kalyazin Date: Sat, 10 Aug 2013 12:02:40 +0400 Subject: [PATCH] [FIX] feature check (forgotten function sampling) fix to 5648cb29b512d81025a86fd4b1cd115ae7e6daec --- daemon/da_protocol.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/daemon/da_protocol.h b/daemon/da_protocol.h index d3f00cd..0746501 100644 --- a/daemon/da_protocol.h +++ b/daemon/da_protocol.h @@ -123,7 +123,7 @@ enum feature_code{ FL_CONTEXT_SWITCH = 0x00010000, //Context switch tracing FL_NETWORK_API_PROBING = 0x00020000, //network API (glibc, OSP, libsoap, openssl) FL_OPENGL_API_PROBING = 0x00040000, //openGL API - FL_RESERVED3 = 0x00080000, + FL_FUNCTION_SAMPLING = 0x00080000, //Function sampling FL_CPU = 0x00100000, //CPU core load, frequency FL_PROCESSES = 0x00200000, //Process load FL_MEMORY = 0x00400000, //Process size(VSS, PSS. RSS), heap usage(application, library), physical memory in use @@ -131,13 +131,12 @@ enum feature_code{ FL_NETWORK = 0x01000000, FL_DEVICE = 0x02000000, FL_ENERGY = 0x04000000, - FL_RESERVED4 = 0x08000000, + FL_RESERVED3 = 0x08000000, FL_ALL_FEATURES = 0xFFFFFFFF & (~FL_RESERVED1) & (~FL_RESERVED2) & - (~FL_RESERVED3) & - (~FL_RESERVED4) + (~FL_RESERVED3) }; #define IS_OPT_SET_IN(OPT, reg) (reg & (OPT)) -- 2.7.4