Brad Fitzpatrick
|
d1cb7a2639
|
metrics: use SYS_OPENAT
New systems like arm64 don't even have SYS_OPEN.
|
2021-09-02 15:28:19 -07:00 |
|
Brad Fitzpatrick
|
99a1c74a6a
|
metrics: optimize CurrentFDs to not allocate on Linux
It was 50% of our allocs on one of our servers. (!!)
Updates #2784
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
|
2021-09-02 13:28:39 -07:00 |
|
Brad Fitzpatrick
|
fc160f80ee
|
metrics: move currentFDs code to the metrics package
Updates #2784
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
|
2021-09-02 11:14:14 -07:00 |
|