perf: Humanize lock flags in perf lock
authorFrederic Weisbecker <fweisbec@gmail.com>
Wed, 5 May 2010 21:57:25 +0000 (23:57 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Sun, 9 May 2010 11:45:27 +0000 (13:45 +0200)
commit84c7a21791eb2e962a27e19bab5b77d5d9e13a34
treef61363b358a58c164b5b457a70e4eb9d0da0fdd1
parent10350ec362b48f79f3df8447c25813790075e27c
perf: Humanize lock flags in perf lock

Use an enum instead of plain constants for lock flags.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp>
tools/perf/builtin-lock.c