[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v1] xenalyze: remove unused defines


  • To: xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Olaf Hering <olaf@xxxxxxxxx>
  • Date: Thu, 1 Jun 2023 10:13:31 +0200
  • Arc-authentication-results: i=1; strato.com; arc=none; dkim=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1685607214; s=strato-dkim-0002; d=strato.com; h=Message-Id:Date:Subject:Cc:To:From:Cc:Date:From:Subject:Sender; bh=jfSB96xZmQTSX9f93eRmhAN9QA0aTbS2WwLrDEw5fHE=; b=HFUmJAIRCnyJ+BRkJMfR2kEVbqUYbgRKUQdalYCd8Fdyl+NiU4V16ueK7M4QHKtSqQ bHOAoTkaXVYdB4zJanUTsOHRL1lKOZDJGhYlJzqTFf17Ucng8scYhDqezz1r6va5gu97 H77SOg6C2XsJWWYpFR8fyDCznQTEw90EqSbigWjHwXgGSjR+BgLS1l/yhNBlxpS+bVED qsGxRQChSdEc5DXaUH/cVmnukF/PMPFwi6bJcV3jd4HNYblZeTsaT4Cd7NgLG22D9l14 VnqmwKN8uaMNvy970XDBEXFrURWpJNcLJJe0FhINDbY943Bbans7gmuf5fEoIW/VH5o8 OaRA==
  • Arc-seal: i=1; a=rsa-sha256; t=1685607214; cv=none; d=strato.com; s=strato-dkim-0002; b=BFEwmTcCjMVWPPh/EmYB3zUW0Gk3/LFlibDOuLovCFmkNzz1KYv6sFENoiu1y2PF/z F/rMqcq9Zq3PKEEABHpCyKw/jN2/6G+DJVZJT9/gSfazQIgDiov/n0X3jm30DPvfZasg RbEETt+fzreiQnp9BA0NaLHyHir+KXk9OdWfcZ4WHLQpha4IIeh+Bql5/090hJMw3fRj a83WWzcC9hiz/N3jI6sF5yScUIxJQmxwGLi3+8vQWSaQtMkV6YfMvKy3vqau2Selu3wA L013MVDK9hP5jbPjfGuBPh1eCFcCl0bve2TlokwhoUaCkacjNTH6hWzZzrOEckpvP5nZ Ia+A==
  • Cc: George Dunlap <george.dunlap@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>
  • Delivery-date: Thu, 01 Jun 2023 08:13:48 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

These defines are not used by xenalyze.
NR_CPUS will not match what was used for building Xen itself.

Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
---
 tools/xentrace/analyze.h | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/tools/xentrace/analyze.h b/tools/xentrace/analyze.h
index 6fefa19639..89217026a7 100644
--- a/tools/xentrace/analyze.h
+++ b/tools/xentrace/analyze.h
@@ -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,



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.