BPF List
 help / color / mirror / Atom feed
From: Xin Hao <xhao@linux.alibaba.com>
To: ast@kernel.org
Cc: daniel@iogearbox.net, kafai@fb.com, andriin@fb.com,
	xhao@linux.alibaba.com, bpf@vger.kernel.org
Subject: [bpf-next 0/3] Using log2 histogram to display the statistics of every softirq execution
Date: Sun, 20 Sep 2020 22:45:44 +0800	[thread overview]
Message-ID: <20200920144547.56771-1-xhao@linux.alibaba.com> (raw)

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

             reply	other threads:[~2020-09-20 14:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-20 14:45 Xin Hao [this message]
2020-09-20 14:45 ` [bpf-next 1/3] sample/bpf: Avoid repetitive definition of log2 func Xin Hao
2020-09-21 16:56   ` John Fastabend
2020-09-20 14:45 ` [bpf-next 2/3] sample/bpf: Add log2 histogram function support Xin Hao
2020-09-21 17:16   ` John Fastabend
2020-09-21 21:40     ` Andrii Nakryiko
2020-09-22  2:06       ` Xin Hao
2020-09-23  5:32         ` Wenbo Zhang
2020-09-20 14:45 ` [bpf-next 3/3] samples/bpf: Add soft irq execution time statistics Xin Hao
2020-09-21 17:33   ` John Fastabend
2020-09-21 21:33   ` Andrii Nakryiko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200920144547.56771-1-xhao@linux.alibaba.com \
    --to=xhao@linux.alibaba.com \
    --cc=andriin@fb.com \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=kafai@fb.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox