diff options
author | Shawn Bohrer <sbohrer@rgmadvisors.com> | 2010-11-21 11:09:39 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-11-26 22:33:04 -0500 |
commit | 008f29d3865828bb27e35d6d3fa889d0853b469f (patch) | |
tree | ed30036e47eb9fa91cf00b5ef8982f26c5a987eb /tools/perf/util/probe-finder.h | |
parent | 9d1faba5fe410558099f13cfada2eab03186769d (diff) |
perf trace: Handle DT_UNKNOWN on filesystems that don't support d_type
Some filesystems like xfs and reiserfs will return DT_UNKNOWN for the
d_type. Handle this case by calling stat() to determine the type.
Cc: Andreas Schwab <schwab@linux-m68k.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1290355779-3276-1-git-send-email-sbohrer@rgmadvisors.com>
Signed-off-by: Shawn Bohrer <sbohrer@rgmadvisors.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/probe-finder.h')
0 files changed, 0 insertions, 0 deletions