diff options
author | Jiri Olsa <[email protected]> | 2014-10-26 23:44:03 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2014-11-06 17:42:13 -0300 |
commit | 416c419cc3799ddf7ea467c9adcb4cd038bd94a4 (patch) | |
tree | b28e3aa0ab1b163db862e52304831dff483bfca7 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 96d78059d6d9da45d77078a219924304860497f2 (diff) |
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 <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions