perf_counter tools: Add and use isprint()
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Thu, 18 Jun 2009 07:44:20 +0000 (09:44 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 18 Jun 2009 07:46:00 +0000 (09:46 +0200)
commita73c7d84a1975b44c0ebd03c2dec288af1426349
tree34f6f154ec63b04e75148cc022d8a18198857d33
parent7522060c95395f479ee4a6af3bbf9e097e92e48f
perf_counter tools: Add and use isprint()

Introduce isprint() to print out raw event dumps to ASCII, etc.

(This is an extension to upstream Git's ctype.c.)

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <new-submission>
[ removed openssl.h inclusion from util.h - it leaked ctype.h ]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-report.c
tools/perf/util/ctype.c
tools/perf/util/util.h