Live attach/detach and its unit tests (#53)
This commit is contained in:
committato da
GitHub
parent
9278770b89
commit
872f0aed0c
@@ -146,6 +146,28 @@ Examples:
|
||||
profile_group.add_argument(
|
||||
"--target", type=str, default=None, help=argparse.SUPPRESS
|
||||
)
|
||||
profile_group.add_argument(
|
||||
"--attach-pid",
|
||||
type=str,
|
||||
dest="attach_pid",
|
||||
metavar="",
|
||||
default=None,
|
||||
required=False,
|
||||
help="\t\t\tProcess id to be attached for profiling.",
|
||||
)
|
||||
profile_group.add_argument(
|
||||
"--attach-duration-msec",
|
||||
type=str,
|
||||
dest="attach_duration_msec",
|
||||
metavar="",
|
||||
default=None,
|
||||
required=False,
|
||||
help=(
|
||||
"\t\t\tWhen --attach-pid is used, it specifies the attach duration "
|
||||
"in milliseconds. If not set, detachment occurs when "
|
||||
'"Enter" key is pressed.'
|
||||
),
|
||||
)
|
||||
profile_group.add_argument(
|
||||
"-p",
|
||||
"--path",
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user