From 58e11ac478545c1e371f9dc91b65ffe486c60644 Mon Sep 17 00:00:00 2001 From: Anastasia Lyupa Date: Thu, 14 Nov 2013 17:27:37 +0400 Subject: [PATCH] [CLEAN] unused NMSG_PROBE_ enums Change-Id: I898a407d3b7edb5ce2b12564ec910a6f8f0d69d8 Signed-off-by: Anastasia Lyupa --- daemon/da_protocol.c | 11 ----------- daemon/da_protocol.h | 14 -------------- 2 files changed, 25 deletions(-) diff --git a/daemon/da_protocol.c b/daemon/da_protocol.c index 4d30dbe..c1c7454 100644 --- a/daemon/da_protocol.c +++ b/daemon/da_protocol.c @@ -100,17 +100,6 @@ char *msg_ID_str(enum HostMessageT ID) check_and_return(NMSG_FUNCTION_EXIT); check_and_return(NMSG_CONTEXT_SWITCH_ENTRY); check_and_return(NMSG_CONTEXT_SWITCH_EXIT); - check_and_return(NMSG_PROBE); - check_and_return(NMSG_PROBE_MEMORY); - check_and_return(NMSG_PROBE_UICONTROL); - check_and_return(NMSG_PROBE_UIEVENT); - check_and_return(NMSG_PROBE_RESOURCE); - check_and_return(NMSG_PROBE_LIFECYCLE); - check_and_return(NMSG_PROBE_SCREENSHOT); - check_and_return(NMSG_PROBE_SCENE); - check_and_return(NMSG_PROBE_THREAD); - check_and_return(NMSG_PROBE_CUSTOM); - check_and_return(NMSG_PROBE_SYNC); return "HZ"; } diff --git a/daemon/da_protocol.h b/daemon/da_protocol.h index 7d690b5..ca1c68b 100644 --- a/daemon/da_protocol.h +++ b/daemon/da_protocol.h @@ -67,20 +67,6 @@ NMSG_FUNCTION_ENTRY =0x0008, //N irregular swap instrumentation, Instrumented NMSG_FUNCTION_EXIT =0x0009, //N irregular swap instrumentation, Instrumented functions by AppInst and LibInst NMSG_CONTEXT_SWITCH_ENTRY =0x0010, //N irregular swap instrumentation for kernel NMSG_CONTEXT_SWITCH_EXIT =0x0011, //N irregular swap instrumentation for kernel - -NMSG_PROBE =0x0100, //N irregular resource log -NMSG_PROBE_MEMORY =0x0101, //N irregular resource log -NMSG_PROBE_UICONTROL =0x0102, //N irregular resource log -NMSG_PROBE_UIEVENT =0x0103, //N irregular resource log -NMSG_PROBE_RESOURCE =0x0104, //N irregular resource log -NMSG_PROBE_LIFECYCLE =0x0105, //N irregular resource log -NMSG_PROBE_SCREENSHOT =0x0106, //N irregular resource log -NMSG_PROBE_SCENE =0x0107, //N irregular resource log -NMSG_PROBE_THREAD =0x0108, //N irregular resource log -NMSG_PROBE_CUSTOM =0x0109, //N irregular resource log -NMSG_PROBE_SYNC =0x0110 //N irregular resource log - - }; #define MSG_MAX_NUM NMSG_SWAP_INST_REMOVE -- 2.7.4