Ingo, Here are the cleaned-up debugfs routines. Clark Clark Williams (2): debugfs utility routines for perf modify perf routines to use new debugfs routines tools/perf/perf.c | 45 +------ tools/perf/util/debugfs.c | 247 ++++++++++++++++++++++++++++++++++++++++ tools/perf/util/debugfs.h | 22 ++++ tools/perf/util/parse-events.c | 17 +-- 4 files changed, 280 insertions(+), 51 deletions(-) create mode 100644 tools/perf/util/debugfs.c create mode 100644 tools/perf/util/debugfs.h