]> Cypherpunks repositories - gostls13.git/commit
cmd/go/internal/telemetrystats: count cgo usage
authorqmuntal <quimmuntal@gmail.com>
Fri, 26 Sep 2025 09:39:02 +0000 (11:39 +0200)
committerQuim Muntal <quimmuntal@gmail.com>
Mon, 3 Nov 2025 20:18:49 +0000 (12:18 -0800)
commitf93186fb448f77adb8615b0235759a31035d5df8
treef0f73b69c40f94670690ef02712ba05c78230eee
parenteaf28a27fd814282af1a317c6fe83b180666880e
cmd/go/internal/telemetrystats: count cgo usage

Knowing how many times cgo is used is useful information to have in the
local telemetry database.

It also opens the door for uploading them in the future if desired.

Change-Id: Ia92b11fc489f015bbface7f28ed5a5c2871c44f0
Reviewed-on: https://go-review.googlesource.com/c/go/+/707055
Reviewed-by: Michael Matloob <matloob@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Robert Findley <rfindley@google.com>
Reviewed-by: Michael Matloob <matloob@google.com>
Reviewed-by: Florian Lehner <lehner.florian86@gmail.com>
src/cmd/go/internal/telemetrystats/telemetrystats.go