Live attach/detach and its unit tests (#53)

This commit is contained in:
systems-assistant[bot]
2025-09-23 13:17:08 -04:00
committato da GitHub
parent 9278770b89
commit 872f0aed0c
14 ha cambiato i file con 909 aggiunte e 21 eliminazioni
@@ -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",