1. 03 12月, 2020 4 次提交
  2. 01 12月, 2020 13 次提交
  3. 28 11月, 2020 2 次提交
  4. 27 11月, 2020 8 次提交
  5. 26 11月, 2020 4 次提交
  6. 25 11月, 2020 6 次提交
  7. 21 11月, 2020 1 次提交
  8. 20 11月, 2020 1 次提交
    • Y
      bpftool: Add {i,d}tlb_misses support for bpftool profile · 450d060e
      Yonghong Song 提交于
      Commit 47c09d6a("bpftool: Introduce "prog profile" command")
      introduced "bpftool prog profile" command which can be used
      to profile bpf program with metrics like # of instructions,
      
      This patch added support for itlb_misses and dtlb_misses.
      During an internal bpf program performance evaluation,
      I found these two metrics are also very useful. The following
      is an example output:
      
       $ bpftool prog profile id 324 duration 3 cycles itlb_misses
      
                 1885029 run_cnt
              5134686073 cycles
                  306893 itlb_misses
      
       $ bpftool prog profile id 324 duration 3 cycles dtlb_misses
      
                 1827382 run_cnt
              4943593648 cycles
                 5975636 dtlb_misses
      
       $ bpftool prog profile id 324 duration 3 cycles llc_misses
      
                 1836527 run_cnt
              5019612972 cycles
                 4161041 llc_misses
      
      From the above, we can see quite some dtlb misses, 3 dtlb misses
      perf prog run. This might be something worth further investigation.
      Signed-off-by: NYonghong Song <yhs@fb.com>
      Signed-off-by: NDaniel Borkmann <daniel@iogearbox.net>
      Acked-by: NSong Liu <songliubraving@fb.com>
      Link: https://lore.kernel.org/bpf/20201119073039.4060095-1-yhs@fb.com
      450d060e
  9. 19 11月, 2020 1 次提交
    • A
      Merge branch 'RISC-V selftest/bpf fixes' · 4e99d115
      Andrii Nakryiko 提交于
      Björn Töpel says:
      
      ====================
      
      This series contain some fixes for selftests/bpf when building/running
      on a RISC-V host. Details can be found in each individual commit.
      
      v2:
        Makefile cosmetics. (Andrii)
        Simplified unpriv check and added comment. (Andrii)
      ====================
      Signed-off-by: NAndrii Nakryiko <andrii@kernel.org>
      4e99d115