]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - tools/perf/perf.h
perf_counter tools: Add more warnings and fix/annotate them
[mirror_ubuntu-bionic-kernel.git] / tools / perf / perf.h
index ce394192c85a230c58890434b926bc16b802bc62..27887c916439f24d83a4ba50fca53945142594d8 100644 (file)
@@ -52,6 +52,8 @@ static inline unsigned long long rdclock(void)
 #define __user
 #define asmlinkage
 
+#define __used         __attribute__((__unused__))
+
 #define unlikely(x)    __builtin_expect(!!(x), 0)
 #define min(x, y) ({                           \
        typeof(x) _min1 = (x);                  \