Re: [RFC PATCH 0/1] sample: bpf: introduce irqlat

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi Daniel,

Thanks for liking the idea.

My target is embedded devices, that's why i get started from ebpf C.bcc and bpftrace is a good idea, but i prefer taking one thing at a time, what's more, i'm not familiar with python, it might take longer.

Once C code is accepted, i will move myself to bcc and bpftrace. Is it ok for you?

BR

Song


在 2022/4/14 17:47, Daniel Borkmann 写道:
On 4/14/22 11:07 AM, Song Chen wrote:
I'm planning to implement a couple of ebpf tools for preempt rt,
including irq latency, preempt latency and so on, how does it sound
to you?

Sounds great, thanks! Please add these tools for upstream inclusion either to bpftrace [0] or bcc [1], then a wider range of users would be able to benefit from them as well as they are also shipped as distro packages and generally more widely used compared to kernel samples.

Thanks Song!

   [0] https://github.com/iovisor/bpftrace/tree/master/tools
   [1] https://github.com/iovisor/bcc/tree/master/libbpf-tools

Song Chen (1):
   sample: bpf: introduce irqlat

  samples/bpf/.gitignore    |   1 +
  samples/bpf/Makefile      |   5 ++
  samples/bpf/irqlat_kern.c |  81 ++++++++++++++++++++++++++++++
  samples/bpf/irqlat_user.c | 100 ++++++++++++++++++++++++++++++++++++++
  4 files changed, 187 insertions(+)
  create mode 100644 samples/bpf/irqlat_kern.c
  create mode 100644 samples/bpf/irqlat_user.c






[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux