diff options
author | Ian Rogers <irogers@google.com> | 2025-06-04 10:45:36 -0700 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2025-06-09 11:18:17 -0700 |
commit | 5ddf4c3a17dc499fcbaf35692bc894340062dee8 (patch) | |
tree | b9f1e57284a79c97809a7ff7b2f59ff043e827be /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 8b99e2f7a95297da80b0b7167a8c8327b65c019e (diff) |
perf target: Separate parse_uid into its own function
Allow parse_uid to be called without a struct target. Rather than have
two errors, remove TARGET_ERRNO__USER_NOT_FOUND and use
TARGET_ERRNO__INVALID_UID as the handling is identical.
Signed-off-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250604174545.2853620-3-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions