summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/debug.c
diff options
context:
space:
mode:
authorShawn Bohrer <sbohrer@rgmadvisors.com>2010-11-21 10:09:39 -0600
committerArnaldo Carvalho de Melo <acme@redhat.com>2010-11-27 01:33:04 -0200
commit008f29d3865828bb27e35d6d3fa889d0853b469f (patch)
treeed30036e47eb9fa91cf00b5ef8982f26c5a987eb /tools/perf/util/debug.c
parent9d1faba5fe410558099f13cfada2eab03186769d (diff)
downloadop-kernel-dev-008f29d3865828bb27e35d6d3fa889d0853b469f.zip
op-kernel-dev-008f29d3865828bb27e35d6d3fa889d0853b469f.tar.gz
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/debug.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud