aboutsummaryrefslogtreecommitdiff
path: root/lib/libpmcstat/pmu-events/jevents.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpmcstat/pmu-events/jevents.h')
-rw-r--r--lib/libpmcstat/pmu-events/jevents.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/lib/libpmcstat/pmu-events/jevents.h b/lib/libpmcstat/pmu-events/jevents.h
deleted file mode 100644
index cd3d1c19021b..000000000000
--- a/lib/libpmcstat/pmu-events/jevents.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/* $FreeBSD$ */
-#ifndef JEVENTS_H
-#define JEVENTS_H 1
-
-int json_events(const char *fn,
- int (*func)(void *data, char *name, const char *event, char *desc,
- char *long_desc,
- char *pmu,
- char *unit, char *perpkg, char *metric_expr,
- char *metric_name, char *metric_group),
- void *data);
-char *get_cpu_str(void);
-
-#ifndef min
-#define min(x, y) ({ \
- typeof(x) _min1 = (x); \
- typeof(y) _min2 = (y); \
- (void) (&_min1 == &_min2); \
- _min1 < _min2 ? _min1 : _min2; })
-#endif
-
-#endif