You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/cmd/tailscaled
Brad Fitzpatrick efb84ca60d ipn/localapi, cmd/tailscale: add CPU & memory profile support, debug command
This was already possible on Linux if you ran tailscaled with --debug
(which runs net/http/pprof), but it requires the user have the Go
toolchain around.

Also, it wasn't possible on macOS, as there's no way to run the IPNExtension
with a debug server (it doesn't run tailscaled).

And on Windows it's super tedious: beyond what users want to do or
what we want to explain.

Instead, put it in "tailscale debug" so it works and works the same on
all platforms. Then we can ask users to run it when we're debugging something
and they can email us the output files.

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
3 years ago
..
debug.go cmd/tailscaled: appease a security scanner 3 years ago
depaware.txt ipn/localapi, cmd/tailscale: add CPU & memory profile support, debug command 3 years ago
install_darwin.go cmd/tailscaled: remove tailscaled binary on uninstall-system-daemon 4 years ago
install_windows.go ipn/ipnlocal: add file sharing to windows shell 3 years ago
tailscaled.defaults cmd/tailscaled: rename relaynode reference in defaults file comment 5 years ago
tailscaled.go cmd/tailscaled: disable netns earlier in userspace-networking mode 3 years ago
tailscaled.openrc tstest/integration/vms: use an in-process logcatcher (#2360) 3 years ago
tailscaled.service cmd/tailscaled: start after NetworkManager and systemd-resolved. 3 years ago
tailscaled_bird.go wgengine/userspace: add support to automatically enable/disable the tailscale 3 years ago
tailscaled_notwindows.go all: gofmt with Go 1.17 3 years ago
tailscaled_windows.go wgengine/router: take a link monitor 3 years ago