You are here

function drush_xhprof_list_run_files in XHProf 6

Same name and namespace in other branches
  1. 8 xhprof.drush.inc \drush_xhprof_list_run_files()
  2. 7 xhprof.drush.inc \drush_xhprof_list_run_files()
1 call to drush_xhprof_list_run_files()
drush_xhprof_clear in ./xhprof.drush.inc
A command callback.

File

./xhprof.drush.inc, line 142

Code

function drush_xhprof_list_run_files() {
  $dir = drush_xhprof_get_dir();
  $files = array();
  foreach (glob("{$dir}/*.xhprof") as $file) {
    $files[] = $file;
  }
  return $files;
}