Skip to main content

probe_array_file

Function probe_array_file 

Source
pub fn probe_array_file(
    package: &str,
    alias: &str,
    import: &str,
    probe_count: usize,
) -> String
Expand description

The generated file that gives a package the array its probes store into.

A normal source file, not a test one: instrumented statements live in ordinary code and must compile in every build of the package, not only under go test.