aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2017-12-06 17:45:35 +0000
committerArnaldo Carvalho de Melo <[email protected]>2017-12-27 15:15:48 +0000
commit378811ac303df13efbe49f3ad1795b63d334ac5d (patch)
tree3f7fd4408641d2fc1f7a3ecce1c2326b44c260de /tools/perf/util/scripting-engines/trace-event-python.c
parentperf utils: Move is_directory() to path.h (diff)
downloadkernel-378811ac303df13efbe49f3ad1795b63d334ac5d.tar.gz
kernel-378811ac303df13efbe49f3ad1795b63d334ac5d.zip
perf test: Handle properly readdir DT_UNKNOWN
Some system can return DT_UNKNOWN in readdir's struct dirent::d_type and we must handle it properly. In this case we can directly check if the entity we found is directory and skip it. Reported-by: Michael Petlan <[email protected]> Signed-off-by: Jiri Olsa <[email protected]> Cc: David Ahern <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] [ Split from a larger patch ] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions