• Namhyung Kim's avatar
    perf test: Update perf lock contention test · 22ddcb6b
    Namhyung Kim authored
    Add test cases for the task and addr aggregation modes.
    
      $ sudo ./perf test -v contention
       86: kernel lock contention analysis test                            :
      --- start ---
      test child forked, pid 680006
      Testing perf lock record and perf lock contention
      Testing perf lock contention --use-bpf
      Testing perf lock record and perf lock contention at the same time
      Testing perf lock contention --threads
      Testing perf lock contention --lock-addr
      test child finished with 0
      ---- end ----
      kernel lock contention analysis test: Ok
    Signed-off-by: default avatarNamhyung Kim <namhyung@kernel.org>
    Cc: Adrian Hunter <adrian.hunter@intel.com>
    Cc: Blake Jones <blakejones@google.com>
    Cc: Ian Rogers <irogers@google.com>
    Cc: Ingo Molnar <mingo@kernel.org>
    Cc: Jiri Olsa <jolsa@kernel.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Song Liu <song@kernel.org>
    Cc: bpf@vger.kernel.org
    Link: https://lore.kernel.org/r/20221209190727.759804-5-namhyung@kernel.orgSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    22ddcb6b
lock_contention.sh 3.04 KB