mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-04-12 14:33:06 +08:00
gprofng: Remove unused macros
gprofng/ChangeLog 2024-02-01 Vladimir Mezentsev <vladimir.mezentsev@oracle.com> * common/gp-experiment.h: Remove SP_REMOTE_PROTOCOL_VERSION. * common/hwctable.c: Remove DBG_LT* macros. * libcollector/envmgmt.c: Likewise. * libcollector/hwprofile.c: Likewise. * libcollector/iolib.c: Likewise. * libcollector/jprofile.c: Likewise. * libcollector/memmgr.c: Likewise. * libcollector/profile.c: Likewise. * libcollector/tsd.c: Likewise. * libcollector/unwind.c: Likewise.
This commit is contained in:
parent
49ba125f96
commit
b3c670a6ba
@ -30,8 +30,6 @@
|
||||
|
||||
#include "Emsgnum.h" /* for COL_ERROR_*, etc. symbols */
|
||||
|
||||
#define SP_REMOTE_PROTOCOL_VERSION "12.4.1"
|
||||
|
||||
#define SP_GROUP_HEADER "#analyzer experiment group"
|
||||
|
||||
/* Experiment name macro definitions */
|
||||
|
@ -27,12 +27,6 @@
|
||||
|
||||
#include "hwcdrv.h"
|
||||
|
||||
/* TprintfT(<level>,...) definitions. Adjust per module as needed */
|
||||
#define DBG_LT0 0 // for high-level configuration, unexpected errors/warnings
|
||||
#define DBG_LT1 1 // for configuration details, warnings
|
||||
#define DBG_LT2 2
|
||||
#define DBG_LT3 3
|
||||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
/* compile options */
|
||||
|
||||
|
@ -27,13 +27,6 @@
|
||||
|
||||
#define MAX_LD_PRELOADS 2
|
||||
|
||||
/* TprintfT(<level>,...) definitions. Adjust per module as needed */
|
||||
#define DBG_LT0 0 // for high-level configuration, unexpected errors/warnings
|
||||
#define DBG_LT1 1 // for configuration details, warnings
|
||||
#define DBG_LT2 2
|
||||
#define DBG_LT3 3
|
||||
#define DBG_LT4 4
|
||||
|
||||
/* original environment settings to be saved for later restoration */
|
||||
static char *sp_preloads[MAX_LD_PRELOADS];
|
||||
static char *sp_libpaths[MAX_LD_PRELOADS];
|
||||
|
@ -41,14 +41,6 @@
|
||||
#include "ABS.h"
|
||||
#include "tsd.h"
|
||||
|
||||
/* TprintfT(<level>,...) definitions. Adjust per module as needed */
|
||||
#define DBG_LT0 0 // for high-level configuration, unexpected errors/warnings
|
||||
#define DBG_LT1 1 // for configuration details, warnings
|
||||
#define DBG_LT2 2
|
||||
#define DBG_LT3 3
|
||||
#define DBG_LT4 4
|
||||
#define DBG_LT5 5
|
||||
|
||||
#define SD_OFF 0 /* before start or after close she shut down process */
|
||||
#define SD_PENDING 1 /* before running real_detach_experiment() */
|
||||
#define SD_COMPLETE 2 /* after running real_detach_experiment() */
|
||||
|
@ -36,12 +36,6 @@
|
||||
#include "gp-experiment.h"
|
||||
#include "memmgr.h"
|
||||
|
||||
/* TprintfT(<level>,...) definitions. Adjust per module as needed */
|
||||
#define DBG_LT0 0 // for high-level configuration, unexpected errors/warnings
|
||||
#define DBG_LT1 1 // for configuration details, warnings
|
||||
#define DBG_LT2 2
|
||||
#define DBG_LT3 3
|
||||
|
||||
/* ------------- Data and prototypes for block management --------- */
|
||||
#define IO_BLK 0 /* Concurrent requests */
|
||||
#define IO_SEQ 1 /* All requests are sequential, f.e. JAVA_CLASSES */
|
||||
|
@ -37,12 +37,6 @@
|
||||
#include "gp-experiment.h"
|
||||
#include "tsd.h"
|
||||
|
||||
/* TprintfT(<level>,...) definitions. Adjust per module as needed */
|
||||
#define DBG_LT0 0 // for high-level configuration, unexpected errors/warnings
|
||||
#define DBG_LT1 1 // for configuration details, warnings
|
||||
#define DBG_LT2 2
|
||||
#define DBG_LT3 3
|
||||
|
||||
/* ARCH_STRLEN is defined in dbe, copied here */
|
||||
#define ARCH_STRLEN(s) ((CALL_UTIL(strlen)(s) + 4 ) & ~0x3)
|
||||
|
||||
|
@ -30,13 +30,6 @@
|
||||
#include "gp-experiment.h"
|
||||
#include "memmgr.h"
|
||||
|
||||
/* TprintfT(<level>,...) definitions. Adjust per module as needed */
|
||||
#define DBG_LT0 0 // for high-level configuration, unexpected errors/warnings
|
||||
#define DBG_LT1 1 // for configuration details, warnings
|
||||
#define DBG_LT2 2
|
||||
#define DBG_LT3 3
|
||||
#define DBG_LT4 4
|
||||
|
||||
/*
|
||||
* Memory allocation.
|
||||
*
|
||||
|
@ -41,12 +41,6 @@
|
||||
#include "hwprofile.h"
|
||||
#include "tsd.h"
|
||||
|
||||
/* TprintfT(<level>,...) definitions. Adjust per module as needed */
|
||||
#define DBG_LT0 0 // for high-level configuration, unexpected errors/warnings
|
||||
#define DBG_LT1 1 // for configuration details, warnings
|
||||
#define DBG_LT2 2
|
||||
#define DBG_LT3 3
|
||||
|
||||
static int init_interface (CollectorInterface*);
|
||||
static int open_experiment (const char *);
|
||||
static int start_data_collection (void);
|
||||
@ -268,7 +262,7 @@ __collector_ext_profile_handler (siginfo_t *info, ucontext_t *context)
|
||||
return;
|
||||
}
|
||||
PUSH_REENTRANCE (guard);
|
||||
TprintfT (DBG_LT3, "__collector_ext_profile_handler\n");
|
||||
TprintfT (0, "__collector_ext_profile_handler\n");
|
||||
ucontext_t uctxmem;
|
||||
if (context == NULL)
|
||||
{
|
||||
|
@ -26,12 +26,6 @@
|
||||
#include "tsd.h"
|
||||
#include "memmgr.h"
|
||||
|
||||
/* TprintfT(<level>,...) definitions. Adjust per module as needed */
|
||||
#define DBG_LT0 0 // for high-level configuration, unexpected errors/warnings
|
||||
#define DBG_LT1 1 // for configuration details, warnings
|
||||
#define DBG_LT2 2
|
||||
#define DBG_LT3 3
|
||||
|
||||
/*
|
||||
* Build our thread-specific-data support on pthread interfaces.
|
||||
*/
|
||||
|
@ -60,12 +60,6 @@ struct frame
|
||||
};
|
||||
#endif
|
||||
|
||||
/* Set the debug trace level */
|
||||
#define DBG_LT0 0
|
||||
#define DBG_LT1 1
|
||||
#define DBG_LT2 2
|
||||
#define DBG_LT3 3
|
||||
|
||||
int (*__collector_VM_ReadByteInstruction)(unsigned char *) = NULL;
|
||||
#define VM_NO_ACCESS (-1)
|
||||
#define VM_NOT_VM_MEMORY (-2)
|
||||
|
Loading…
x
Reference in New Issue
Block a user