xenalyze: remove unused defines
PATCH 1/1 xenalyze: remove unused defines
These defines are not used by xenalyze.NR_CPUS will not match what was used for building Xen itself.
Signed-off-by Olaf Hering <[email protected]>
--- tools/xentrace/analyze.h | 13 ------------- 1 file changed, 13 deletions(-)
tools/xentrace/analyze.h +0 -13
@@ -16,19 +16,6 @@#define TRC_LOST_RECORDS_END (TRC_GEN + 50) -#define NR_CPUS 128 -#if __x86_64__ -# define BITS_PER_LONG 64 -#else -# define BITS_PER_LONG 32 -#endif - -#define BITS_TO_LONGS (bits) \ - (((bits)+BITS_PER_LONG-1)/BITS_PER_LONG) -#define DECLARE_BITMAP (name,bits) \ - unsigned long name[BITS_TO_LONGS(bits)] -typedef struct cpumask{ DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; -enum {TRCE_SFLAG_SET_AD ,TRCE_SFLAG_SET_A ,
Quoted 5 lines · Olaf Hering
These defines are not used by xenalyze.
NR_CPUSwill not match what was used for building Xen itself.Signed-off-by Olaf Hering <[email protected]>
Reviewed-by George Dunlap <[email protected]>