Switch to DEFAULT_EVENTS_UST instead of DEFAULT_EVENTS_ROS
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
This commit is contained in:
parent
42823be8d5
commit
50ae44e73d
2 changed files with 3 additions and 1 deletions
|
@ -49,7 +49,7 @@ def add_arguments(parser: argparse.ArgumentParser) -> None:
|
|||
help='path of the base directory for trace data (default: %(default)s)')
|
||||
events_ust_arg = parser.add_argument( # type: ignore
|
||||
'-u', '--ust', nargs='*', dest='events_ust', metavar='EVENT',
|
||||
default=names.DEFAULT_EVENTS_ROS,
|
||||
default=names.DEFAULT_EVENTS_UST,
|
||||
help='the userspace events to enable (default: see tracetools_trace.tools.names) '
|
||||
'[to disable all UST events, '
|
||||
'provide this flag without any event name]')
|
||||
|
|
|
@ -75,6 +75,8 @@ DEFAULT_EVENTS_ROS = [
|
|||
'ros2:callback_end',
|
||||
]
|
||||
|
||||
DEFAULT_EVENTS_UST = DEFAULT_EVENTS_ROS
|
||||
|
||||
CONTEXT_TYPE_CONSTANTS_MAP = {
|
||||
'pid': 'EVENT_CONTEXT_PID',
|
||||
'procname': 'EVENT_CONTEXT_PROCNAME',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue