summaryrefslogtreecommitdiff
path: root/tools/perf/pmu-events/jevents.h
blob: b0eb2744b498876780bd56609ced6fcfd8691675 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef JEVENTS_H
#define JEVENTS_H 1

int json_events(const char *fn,
		int (*func)(void *data, char *name, char *event, char *desc,
				char *long_desc),
		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
ass='right'>2017-01-16 09:34:37 -0800 committerLinus Torvalds <torvalds@linux-foundation.org>2017-01-16 09:34:37 -0800 commit2eabb8b8d68bc9c7779ba8b04bec8d4f8baed0bc (patch) tree4d8ea8e6ca52f1938269937834641205d8d888f0 /tools/testing/radix-tree/linux.c parent49def1853334396f948dcb4cedb9347abb318df5 (diff)parentce1ca7d2d140a1f4aaffd297ac487f246963dd2f (diff)
Merge tag 'nfsd-4.10-1' of git://linux-nfs.org/~bfields/linux
Pull nfsd fixes from Bruce Fields: "Miscellaneous nfsd bugfixes, one for a 4.10 regression, three for older bugs" * tag 'nfsd-4.10-1' of git://linux-nfs.org/~bfields/linux: svcrdma: avoid duplicate dma unmapping during error recovery sunrpc: don't call sleeping functions from the notifier block callbacks svcrpc: don't leak contexts on PROC_DESTROY nfsd: fix supported attributes for acl & labels
Diffstat (limited to 'tools/testing/radix-tree/linux.c')