lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220225103114.144239-1-nakamura.shun@fujitsu.com>
Date:   Fri, 25 Feb 2022 19:31:07 +0900
From:   Shunsuke <nakamura.shun@...itsu.com>
To:     peterz@...radead.org, mingo@...hat.com, acme@...nel.org,
        mark.rutland@....com, alexander.shishkin@...ux.intel.com,
        jolsa@...hat.com, namhyung@...nel.org
Cc:     linux-kernel@...r.kernel.org, linux-perf-users@...r.kernel.org
Subject: [RFC PATCH 0/7] libperf: Add overflow detection of sampling events

From: Shunsuke Nakamura <nakamura.shun@...itsu.com>

This patch series adds sampling event overflow detection capability
to libperf.

First patch fixes a typo in the error message that I noticed.

Second patch  adds a interface to set PERF_FLAG_FD_CLOEXEC

Third patch adds a interface to perform IOC_REFRESH and IOC_PERIOD.

Fourth patch adds a interface to set the signal handler.

Fifth patch adds a interface to detect overflowed events.

Sixth and seventh patch adds tests.

Shunsuke Nakamura (7):
  libperf tests: Fix typo in the error message "evsel" -> "evlist"
  libperf: Add perf_evsel__set_close_on_exec() function
  libperf: Add perf_evsel__refresh()/period() functions
  libperf: Add perf_evsel__set_signal() functions
  libperf: Add perf_evsel__check_fd() functions
  libperf test: Add test_stat_overflow()
  libperf test: Add test_detect_overflow_event()

 tools/lib/perf/Documentation/libperf.txt |  12 ++
 tools/lib/perf/evsel.c                   | 215 ++++++++++++++++++++++-
 tools/lib/perf/include/internal/evsel.h  |   2 +
 tools/lib/perf/include/perf/evsel.h      |  14 ++
 tools/lib/perf/libperf.map               |   9 +
 tools/lib/perf/tests/test-evlist.c       | 127 ++++++++++++-
 tools/lib/perf/tests/test-evsel.c        | 110 ++++++++++++
 tools/perf/util/evsel.c                  |  16 +-
 tools/perf/util/evsel.h                  |   1 -
 9 files changed, 487 insertions(+), 19 deletions(-)

-- 
2.31.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ