diff options
| author | Ian Rogers <[email protected]> | 2023-04-03 18:40:30 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-04-04 16:23:59 +0000 |
| commit | c9dc580c43b8d83de0c14158e826f79e41098822 (patch) | |
| tree | 2cbd2a70d22e5d4d4e5378ec4347c5c52995b7bd /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | perf intel-pt: Use perf_pmu__scan_file_at() if possible (diff) | |
| download | kernel-c9dc580c43b8d83de0c14158e826f79e41098822.tar.gz kernel-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 <[email protected]>
Tested-by: Arnaldo Carvalho de Melo <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Nathan Chancellor <[email protected]>
Cc: Nick Desaulniers <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Tom Rix <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions
