perf cgroup: Use atomic.h for refcounting
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 15 May 2015 19:12:20 +0000 (16:12 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 15 May 2015 19:12:20 +0000 (16:12 -0300)
commitf812d3045c2385ac16237e68b156859c4005526e
treeba298a8fb0046c908913765045ad2f27765e4f0d
parent7143849a5d6a5c623d81790d92f0033507c5b14f
perf cgroup: Use atomic.h for refcounting

Now that we have atomic.h, we should convert all of the existing
refcounts to use it.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: David Ahern <dsahern@gmail.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-t3v2uma5digcj2tpkrs3m84u@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/cgroup.c
tools/perf/util/cgroup.h