github.com/inspektor-gadget/inspektor-gadget@v0.28.1/pkg/resources/samples/trace-ebpftop.yaml (about)

     1  apiVersion: gadget.kinvolk.io/v1alpha1
     2  kind: Trace
     3  metadata:
     4    name: ebpftop
     5    namespace: gadget
     6  spec:
     7    node: ubuntu-hirsute
     8    gadget: ebpftop
     9    runMode: Manual
    10    outputMode: Stream
    11    parameters:
    12      interval: "1"
    13      max_rows: "50"
    14      sort_by: all # all, runtime, runcount, progid, totalruntime, totalruncount, cumulruntime, cumulrouncount, mapmemory and mapcount are allowed