github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/pkg/structs/flamebearer/convert/testdata/profile.json (about)

     1  {
     2    "version": 1,
     3    "flamebearer": {
     4      "names": [
     5        "total",
     6        "runtime.nanotime1",
     7        "runtime.mcall",
     8        "runtime.park_m",
     9        "runtime.schedule",
    10        "runtime.findrunnable",
    11        "runtime.stealWork",
    12        "runtime.checkTimers",
    13        "runtime.runtimer",
    14        "runtime.runOneTimer",
    15        "time.sendTime",
    16        "time.Now",
    17        "runtime.netpoll",
    18        "runtime.epollwait",
    19        "runtime.lock",
    20        "runtime.lockWithRank",
    21        "runtime.lock2",
    22        "runtime.bgscavenge",
    23        "runtime.nanotime",
    24        "net/http.(*conn).serve",
    25        "net/http.serverHandler.ServeHTTP",
    26        "net/http.(*ServeMux).ServeHTTP",
    27        "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp.(*Handler).ServeHTTP",
    28        "net/http.HandlerFunc.ServeHTTP",
    29        "main.carRoute",
    30        "rideshare/car.OrderCar",
    31        "rideshare/utility.FindNearestVehicle",
    32        "github.com/pyroscope-io/client/pyroscope.TagWrapper",
    33        "runtime/pprof.Do",
    34        "github.com/pyroscope-io/client/pyroscope.TagWrapper.func1",
    35        "rideshare/utility.FindNearestVehicle.func1",
    36        "rideshare/utility.checkDriverAvailability",
    37        "rideshare/utility.mutexLock",
    38        "time.Since",
    39        "time.Time.Sub",
    40        "github.com/pyroscope-io/client/pyroscope.(*Session).takeSnapshots",
    41        "runtime.selectgo",
    42        "runtime.sellock",
    43        "github.com/pyroscope-io/client/pyroscope.(*Session).isDueForReset",
    44        "time.Time.Truncate",
    45        "time.div"
    46      ],
    47      "levels": [
    48        [0, 953, 0, 0],
    49        [0, 2, 0, 35, 0, 823, 0, 19, 0, 1, 0, 17, 0, 7, 0, 2, 0, 120, 120, 1],
    50        [0, 1, 0, 38, 0, 1, 0, 36, 0, 823, 0, 20, 0, 1, 1, 18, 0, 7, 0, 3],
    51        [0, 1, 0, 39, 0, 1, 1, 37, 0, 823, 0, 21, 1, 7, 0, 4],
    52        [0, 1, 1, 40, 1, 823, 0, 22, 1, 7, 0, 5],
    53        [2, 823, 0, 23, 1, 1, 0, 14, 0, 5, 2, 12, 0, 1, 0, 6],
    54        [2, 823, 0, 24, 1, 1, 0, 15, 2, 3, 3, 13, 0, 1, 0, 7],
    55        [2, 823, 0, 25, 1, 1, 1, 16, 5, 1, 0, 8],
    56        [2, 823, 0, 26, 7, 1, 0, 9],
    57        [2, 823, 0, 27, 7, 1, 0, 10],
    58        [2, 823, 0, 28, 7, 1, 1, 11],
    59        [2, 823, 0, 29],
    60        [2, 823, 0, 30],
    61        [2, 823, 0, 31],
    62        [2, 823, 11, 32],
    63        [13, 812, 23, 33],
    64        [36, 732, 732, 18, 0, 57, 57, 34]
    65      ],
    66      "numTicks": 953,
    67      "maxSelf": 732
    68    },
    69    "metadata": {
    70      "appName": "rideshare-app-golang.cpu",
    71      "name": "rideshare-app-golang.cpu 2023-02-23T18:54:55Z",
    72      "startTime": 1677178495,
    73      "endTime": 1677178496,
    74      "query": "rideshare-app-golang.cpu{}",
    75      "maxNodes": 2048,
    76      "format": "single",
    77      "sampleRate": 100,
    78      "spyName": "gospy",
    79      "units": "samples"
    80    },
    81    "timeline": {
    82      "startTime": 1677178490,
    83      "samples": [954],
    84      "durationDelta": 10
    85    },
    86    "annotations": [],
    87    "telemetry": {
    88      "nanoseconds_elapsed_cold": 0,
    89      "nanoseconds_elapsed_hot": 1895862,
    90      "nanoseconds_elapsed_total": 1951554
    91    }
    92  }