• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1* List all BPF programs *
2# bps
3   BID TYPE                 UID  #MAPS LoadTime     NAME
4    82 kprobe                 0      1 Oct19/23:52  map_perf_test
5    83 kprobe                 0      1 Oct19/23:52  map_perf_test
6    84 kprobe                 0      1 Oct19/23:52  map_perf_test
7    85 kprobe                 0      1 Oct19/23:52  map_perf_test
8    86 kprobe                 0      4 Oct19/23:52  map_perf_test
9    87 kprobe                 0      1 Oct19/23:52  map_perf_test
10    88 kprobe                 0      1 Oct19/23:52  map_perf_test
11    89 kprobe                 0      1 Oct19/23:52  map_perf_test
12
13* List a particular BPF program and its maps *
14# bps 86
15   BID TYPE                 UID  #MAPS LoadTime     NAME
16    86 kprobe                 0      4 Oct19/23:52  map_perf_test
17
18MID TYPE            FLAGS         KeySz  ValueSz  MaxEnts NAME
19120 lru hash        0x0               4        8    10000 lru_hash_map
20129 lru hash        0x0               4        8       43 lru_hash_lookup
21123 array of maps   0x0               4        4     1024 array_of_lru_ha
22121 lru hash        0x2               4
23