diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-03-18 11:21:33 -0400 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-03-18 11:21:33 -0400 |
commit | 652a57b5a53e41e585c7e0d10601c807ba08c36f (patch) | |
tree | 5f73195458cf1871171822be29b7439bec3caedc /config/config.py | |
parent | 7200ba40d1283f56891697cd40df7a118f37d05e (diff) |
Made trace-cmd support optional.
Diffstat (limited to 'config/config.py')
-rw-r--r-- | config/config.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config/config.py b/config/config.py index ec35ea6..1199278 100644 --- a/config/config.py +++ b/config/config.py | |||
@@ -9,7 +9,8 @@ BINS = {'rtspin' : get_executable('rtspin', 'liblitmus'), | |||
9 | 'ftsplit' : get_executable('ft2csv', 'feather-trace-tools'), | 9 | 'ftsplit' : get_executable('ft2csv', 'feather-trace-tools'), |
10 | 'ftsort' : get_executable('ftsort', 'feather-trace-tools'), | 10 | 'ftsort' : get_executable('ftsort', 'feather-trace-tools'), |
11 | 'st_trace' : get_executable('st_trace', 'feather-trace-tools'), | 11 | 'st_trace' : get_executable('st_trace', 'feather-trace-tools'), |
12 | 'trace-cmd' : get_executable('trace-cmd', 'rt-kernelshark'), | 12 | # Option, as not everyone uses kernelshark yet |
13 | 'trace-cmd' : get_executable('trace-cmd', 'rt-kernelshark', True), | ||
13 | # Optional, as sched_trace is not a publically supported repository | 14 | # Optional, as sched_trace is not a publically supported repository |
14 | 'st_show' : get_executable('st_show', 'sched_trace', True)} | 15 | 'st_show' : get_executable('st_show', 'sched_trace', True)} |
15 | 16 | ||
@@ -32,7 +33,7 @@ PARAMS = {'sched' : 'scheduler', # Scheduler used by run_exps | |||
32 | DEFAULTS = {'params_file' : 'params.py', | 33 | DEFAULTS = {'params_file' : 'params.py', |
33 | 'sched_file' : 'sched.py', | 34 | 'sched_file' : 'sched.py', |
34 | 'duration' : 10, | 35 | 'duration' : 10, |
35 | 'spin' : 'rtspin', | 36 | 'spin' : 'rtspin', |
36 | 'cycles' : 2000} | 37 | 'cycles' : 2000} |
37 | 38 | ||
38 | '''Default sched_trace events (this is all of them).''' | 39 | '''Default sched_trace events (this is all of them).''' |