diff options
Diffstat (limited to 'src/cmd/nm/nm.go')
| -rw-r--r-- | src/cmd/nm/nm.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cmd/nm/nm.go b/src/cmd/nm/nm.go index e0d98d5f6c..752870654d 100644 --- a/src/cmd/nm/nm.go +++ b/src/cmd/nm/nm.go @@ -13,7 +13,7 @@ import ( "sort" "cmd/internal/objfile" - "cmd/internal/telemetry" + "cmd/internal/telemetry/counter" ) const helpText = `usage: go tool nm [options] file... @@ -68,11 +68,11 @@ func (nflag) String() string { func main() { log.SetFlags(0) - telemetry.OpenCounters() + counter.Open() flag.Usage = usage flag.Parse() - telemetry.Inc("nm/invocations") - telemetry.CountFlags("nm/flag:", *flag.CommandLine) + counter.Inc("nm/invocations") + counter.CountFlags("nm/flag:", *flag.CommandLine) switch *sortOrder { case "address", "name", "none", "size": |
