summaryrefslogtreecommitdiff
path: root/tools/perf/util/perf_regs.h
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2014-10-27 01:44:03 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2014-11-06 23:42:13 +0300
commit416c419cc3799ddf7ea467c9adcb4cd038bd94a4 (patch)
treeb28e3aa0ab1b163db862e52304831dff483bfca7 /tools/perf/util/perf_regs.h
parent96d78059d6d9da45d77078a219924304860497f2 (diff)
downloadlinux-416c419cc3799ddf7ea467c9adcb4cd038bd94a4.tar.xz
perf tools: Add test_and_set_bit function
Set a bit and return its old value. Stolen from kernel sources, will be used in next patches. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Acked-by: Namhyung Kim <namhyung@gmail.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Namhyung Kim <namhyung@gmail.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/1414363445-22370-1-git-send-email-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/perf_regs.h')
0 files changed, 0 insertions, 0 deletions