Calling out to C libraries from within Go is simple and supported as part of the standard distribution. Let's look at an example that wraps a user-land Dtrace library (libusdt). Included are things to keep in mind when dealing with C code.
ful information about those calls (usually ar uments) Dtrace probes can be put anywhere in your code (i.e. can live in userland) To create a Dtrace probe, import a C header
name and module Probe: has .Fire(), identified by two strin s: function and name; the parameters that .Fire() takes are defined when the probe is created