Skip to content

Commit

Permalink
Initialize trace measurements to OTF2 by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
jlinford committed Aug 4, 2017
1 parent 0a61a0d commit a5b7932
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/taucmdr/cli/commands/initialize.py
Expand Up @@ -108,7 +108,7 @@ def _default_target_name():
# Override model defaults so measurements are created unless explicitly disabled
measurement_group['--source-inst'].default = 'automatic'
measurement_group['--profile'].default = 'tau'
measurement_group['--trace'].default = 'slog2'
measurement_group['--trace'].default = 'otf2'
measurement_group['--sample'].default = True
return parser

Expand Down
2 changes: 1 addition & 1 deletion packages/taucmdr/model/measurement.py
Expand Up @@ -110,7 +110,7 @@ def _discourage_callpath(lhs, lhs_attr, lhs_value, rhs):
'metavar': '<format>',
'nargs': '?',
'choices':('slog2', 'otf2', 'none'),
'const': 'slog2'},
'const': 'otf2'},
'compat': {'otf2': Target.exclude('libotf2_source', None),
lambda x: x != 'none': _discourage_callpath}
},
Expand Down

0 comments on commit a5b7932

Please sign in to comment.