diff options
author | Masami Hiramatsu <[email protected]> | 2016-04-26 18:02:42 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-04-26 13:14:55 -0300 |
commit | e1ce726e1db2522b4848b3acffb7ece12439517c (patch) | |
tree | 4aa431756eb86d941aeffd06d955a681c3a3eb8d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 062d6c2aec0e087be956494a73221c04eca115fe (diff) |
perf tools: Add lsdir() helper to read a directory
As a utility function, add lsdir() which reads given directory and store
entry name into a strlist. lsdir accepts a filter function so that user
can filter out unneeded entries.
Signed-off-by: Masami Hiramatsu <[email protected]>
Signed-off-by: Masami Hiramatsu <[email protected]>
Cc: Ananth N Mavinakayanahalli <[email protected]>
Cc: Hemant Kumar <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/20160426090242.11891.79014.stgit@devbox
[ Do not use the 'dirname' it is used in some distros ]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions