diff options
author | 2023-04-03 11:40:30 -0700 | |
---|---|---|
committer | 2023-04-04 13:23:59 -0300 | |
commit | c9dc580c43b8d83de0c14158e826f79e41098822 (patch) | |
tree | 2cbd2a70d22e5d4d4e5378ec4347c5c52995b7bd /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | perf intel-pt: Use perf_pmu__scan_file_at() if possible (diff) | |
download | wireguard-linux-c9dc580c43b8d83de0c14158e826f79e41098822.tar.xz wireguard-linux-c9dc580c43b8d83de0c14158e826f79e41098822.zip |
tools api: Add io__getline
Reads a line to allocated memory up to a newline following the getline
API.
Committer notes:
It also adds this new function to the 'api io' 'perf test' entry:
$ perf test "api io"
64: Test api io : Ok
$
Signed-off-by: Ian Rogers <irogers@google.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Nathan Chancellor <nathan@kernel.org>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Tom Rix <trix@redhat.com>
Cc: llvm@lists.linux.dev
Link: https://lore.kernel.org/r/20230403184033.1836023-2-irogers@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions