tools lib fs debugfs: Introduce debugfs__strerror_open_tp
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 22 Jan 2015 14:13:43 +0000 (11:13 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 22 Jan 2015 20:02:20 +0000 (17:02 -0300)
commit2cc990ba3af4f9511f0d016c73b8163591f890e7
treee807123fbbda4662c369e63cb35f15dc05ed31d0
parent5ed08dae9d2f2307c103e2dce94d801e74aefae4
tools lib fs debugfs: Introduce debugfs__strerror_open_tp

There will be other cases where not just a tracepoint event is being
opened below the debugfs mountpoint, but it is rather common, so provide
one helper for that.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: David Ahern <dsahern@gmail.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-q6e6zct49ql6nbcw8kkg0lbj@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/api/fs/debugfs.c
tools/lib/api/fs/debugfs.h
tools/perf/builtin-trace.c