Skip to content

Using log2 histogram to display the statistics of every softirq execution

Xin Hao bpf 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3sample/bpf: Avoid repetitive definition of log2 funcsamples/bpf/common_kern.h samples/bpf/lathist_kern.c samples/bpf/lwt_len_hist_kern.c +1 more+33 -681 reply
2/3sample/bpf: Add log2 histogram function supportsamples/bpf/common.h+67 -04 replies
3/3samples/bpf: Add soft irq execution time statisticssamples/bpf/Makefile samples/bpf/soft_irq_kern.c samples/bpf/soft_irq_user.c+178 -02 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchJohn Fastabend
1/3A-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [bpf-next 0/3] Using log2 histogram to display the statistics of every softirq execution

The purpose of this series of patches is to provide a way of log2 histogram to display in sample/bpf dir, you can refer to the patch three to use it.

Xin Hao (3):
sample/bpf: Avoid repetitive definition of log2 func sample/bpf: Add log2 histogram function support samples/bpf: Add soft irq execution time statistics

 samples/bpf/Makefile            |  3 ++
 samples/bpf/common.h            | 67 +++++++++++++++++++++++++
 samples/bpf/common_kern.h       | 30 +++++++++++
 samples/bpf/lathist_kern.c      | 25 +---------
 samples/bpf/lwt_len_hist_kern.c | 23 +--------
 samples/bpf/soft_irq_kern.c     | 87 ++++++++++++++++++++++++++++++++
 samples/bpf/soft_irq_user.c     | 88 +++++++++++++++++++++++++++++++++
 samples/bpf/tracex2_kern.c      | 23 +--------
 8 files changed, 278 insertions(+), 68 deletions(-)
 create mode 100644 samples/bpf/common.h
 create mode 100644 samples/bpf/common_kern.h
 create mode 100644 samples/bpf/soft_irq_kern.c
 create mode 100644 samples/bpf/soft_irq_user.c

--
2.28.0