OpenCloudOS-Kernel/tools/include
Arnaldo Carvalho de Melo 73a9bf95ed tools include: Adopt kernel's refcount.h
To aid in catching bugs when using atomics as a reference count.

This is a trimmed down version with just what is used by tools/ at
this point.

After this, the patches submitted by Elena for tools/ doing the
conversion from atomic_ to recount_ methods can be applied and tested.

To activate it, buint perf with:

  make DEBUG=1 -C tools/perf

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Elena Reshetova <elena.reshetova@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-dqtxsumns9ov0l9r5x398f19@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2017-03-03 19:07:14 -03:00
..
asm tools: Provide a definition of WARN_ON 2017-01-27 21:29:39 -05:00
asm-generic tools include: Provide gcc based cmpxchg fallback for !x86 2017-03-03 19:07:14 -03:00
linux tools include: Adopt kernel's refcount.h 2017-03-03 19:07:14 -03:00
tools tools: add more endian.h macros 2014-09-26 11:03:01 +02:00
uapi Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-02-16 19:34:01 -05:00