perf tools: Add trace event debugfs IO handler
authorSteven Rostedt <>
Mon, 17 Aug 2009 14:18:05 +0000 (16:18 +0200)
committerIngo Molnar <>
Mon, 17 Aug 2009 14:32:38 +0000 (16:32 +0200)
perf tools: Add trace event debugfs IO handler

Add util/trace-event-info.c which handles ftrace file IO from
debugfs and provides general helpers to fetch/save ftrace
events informations.

This file is a rename of the trace-cmd.c file from the
trace-cmd tools, written by Steven Rostedt and Josh Triplett,
originated from the git tree:


This is a perf tools integration.

For now, ftrace events information is saved in a separate file
than the standard

[ various changes for perf tools integration]

Signed-off-by: Steven Rostedt <>
Signed-off-by: Frederic Weisbecker <>
Cc: Peter Zijlstra <>
Cc: Arnaldo Carvalho de Melo <>
Cc: Mike Galbraith <>
Cc: "Luis Claudio R. Goncalves" <>
Cc: Clark Williams <>
Cc: Jon Masters <>
Cc: Mathieu Desnoyers <>
Cc: Christoph Hellwig <>
Cc: Xiao Guangrong <>
Cc: Zhaolei <>
Cc: Li Zefan <>
Cc: Lai Jiangshan <>
Cc: Masami Hiramatsu <>
Cc: Tom Zanussi <>
Cc: "Frank Ch. Eigler" <>
Cc: Roland McGrath <>
Cc: Jason Baron <>
Cc: Paul Mackerras <>
Cc: Jiaying Zhang <>
Cc: Anton Blanchard <>
LKML-Reference: <>
Signed-off-by: Ingo Molnar <>
tools/perf/util/trace-event-info.c [new file with mode: 0644]
tools/perf/util/trace-event.h [new file with mode: 0644]