1. 21 8月, 2020 1 次提交
    • S
      perf test: Fix basic bpf filtering test · 4b04e0de
      Sumanth Korikkar 提交于
      BPF basic filtering test fails on s390x (when vmlinux debuginfo is
      utilized instead of /proc/kallsyms)
      
      Info:
      - bpf_probe_load installs the bpf code at do_epoll_wait.
      - For s390x, do_epoll_wait resolves to 3 functions including inlines.
        found inline addr: 0x43769e
        Probe point found: __s390_sys_epoll_wait+6
        found inline addr: 0x437290
        Probe point found: do_epoll_wait+0
        found inline addr: 0x4375d6
        Probe point found: __se_sys_epoll_wait+6
      - add_bpf_event  creates evsel for every probe in a BPF object. This
        results in 3 evsels.
      
      Solution:
      - Expected result = 50% of the samples to be collected from epoll_wait *
        number of entries present in the evlist.
      
      Committer testing:
      
        # perf test 42
        42: BPF filter                                            :
        42.1: Basic BPF filtering                                 : Ok
        42.2: BPF pinning                                         : Ok
        42.3: BPF prologue generation                             : Ok
        42.4: BPF relocation checker                              : Ok
        #
      Signed-off-by: NSumanth Korikkar <sumanthk@linux.ibm.com>
      Reviewed-by: NThomas Richter <tmricht@linux.ibm.com>
      Tested-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      Cc: bpf@vger.kernel.org
      Cc: Heiko Carstens <hca@linux.ibm.com>
      Cc: Jiri Olsa <jolsa@redhat.com>
      Cc: Sven Schnelle <svens@linux.ibm.com>
      LPU-Reference: 20200817072754.58344-1-sumanthk@linux.ibm.com
      Signed-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      4b04e0de
  2. 10 10月, 2019 4 次提交
  3. 25 9月, 2019 4 次提交
  4. 01 9月, 2019 2 次提交
  5. 26 8月, 2019 1 次提交
  6. 30 7月, 2019 6 次提交
  7. 18 6月, 2019 1 次提交
  8. 08 3月, 2018 2 次提交
  9. 05 3月, 2018 1 次提交
  10. 25 1月, 2018 1 次提交
  11. 08 1月, 2018 3 次提交
  12. 06 12月, 2017 1 次提交
  13. 18 8月, 2017 2 次提交
  14. 11 8月, 2017 1 次提交
  15. 25 4月, 2017 1 次提交
  16. 20 4月, 2017 2 次提交
  17. 01 2月, 2017 1 次提交
  18. 29 11月, 2016 1 次提交
    • A
      perf test: Remove "test" and similar strings from test descriptions · 030910c0
      Arnaldo Carvalho de Melo 提交于
      Having "test" in almost all test descriptions is redundant, simplify it
      removing and rewriting tests with such descriptions.
      
      End result:
      
        # perf test
         1: vmlinux symtab matches kallsyms            : Ok
         2: Detect openat syscall event                : Ok
         3: Detect openat syscall event on all cpus    : Ok
         4: Read samples using the mmap interface      : Ok
         5: Parse event definition strings             : Ok
         6: PERF_RECORD_* events & perf_sample fields  : Ok
         7: Parse perf pmu format                      : Ok
         8: DSO data read                              : Ok
         9: DSO data cache                             : Ok
        10: DSO data reopen                            : Ok
        11: Roundtrip evsel->name                      : Ok
        12: Parse sched tracepoints fields             : Ok
        13: syscalls:sys_enter_openat event fields     : Ok
        14: Setup struct perf_event_attr               : Ok
        15: Match and link multiple hists              : Ok
        16: 'import perf' in python                    : Ok
        17: Breakpoint overflow signal handler         : Ok
        18: Breakpoint overflow sampling               : Ok
        19: Number of exit events of a simple workload : Ok
        20: Software clock events period values        : Ok
        21: Object code reading                        : Ok
        22: Sample parsing                             : Ok
        23: Use a dummy software event to keep tracking: Ok
        24: Parse with no sample_id_all bit set        : Ok
        25: Filter hist entries                        : Ok
        26: Lookup mmap thread                         : Ok
        27: Share thread mg                            : Ok
        28: Sort output of hist entries                : Ok
        29: Cumulate child hist entries                : Ok
        30: Track with sched_switch                    : Ok
        31: Filter fds with revents mask in a fdarray  : Ok
        32: Add fd to a fdarray, making it autogrow    : Ok
        33: kmod_path__parse                           : Ok
        34: Thread map                                 : Ok
        35: LLVM search and compile                    :
        35.1: Basic BPF llvm compile                    : Ok
        35.2: kbuild searching                          : Ok
        35.3: Compile source for BPF prologue generation: Ok
        35.4: Compile source for BPF relocation         : Ok
        36: Session topology                           : Ok
        37: BPF filter                                 :
        37.1: Basic BPF filtering                      : Ok
        37.2: BPF prologue generation                  : Ok
        37.3: BPF relocation checker                   : Ok
        38: Synthesize thread map                      : Ok
        39: Synthesize cpu map                         : Ok
        40: Synthesize stat config                     : Ok
        41: Synthesize stat                            : Ok
        42: Synthesize stat round                      : Ok
        43: Synthesize attr update                     : Ok
        44: Event times                                : Ok
        45: Read backward ring buffer                  : Ok
        46: Print cpu map                              : Ok
        47: Probe SDT events                           : Ok
        48: is_printable_array                         : Ok
        49: Print bitmap                               : Ok
        50: perf hooks                                 : Ok
        51: x86 rdpmc                                  : Ok
        52: Convert perf time to TSC                   : Ok
        53: DWARF unwind                               : Ok
        54: x86 instruction decoder - new instructions : Ok
        55: Intel cqm nmi context read                 : Skip
        #
      
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: David Ahern <dsahern@gmail.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Wang Nan <wangnan0@huawei.com>
      Link: http://lkml.kernel.org/n/tip-rx2lbfcrrio2yx1fxcljqy0e@git.kernel.orgSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      030910c0
  19. 24 10月, 2016 1 次提交
  20. 24 8月, 2016 1 次提交
  21. 13 7月, 2016 2 次提交
  22. 12 4月, 2016 1 次提交
新手
引导
客服 返回
顶部