diff options
author | Andrii Nakryiko <[email protected]> | 2024-08-29 10:42:27 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2024-09-11 09:58:30 -0700 |
commit | 45b8fc3096542a53bfd245a9ad8ef870384b4897 (patch) | |
tree | aa3e8ebc9186ed39d591841f629451762240801c /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 4e9d360c4cdf2dc11a30fd5caf39e8c31f0896cb (diff) |
lib/buildid: rename build_id_parse() into build_id_parse_nofault()
Make it clear that build_id_parse() assumes that it can take no page
fault by renaming it and current few users to build_id_parse_nofault().
Also add build_id_parse() stub which for now falls back to non-sleepable
implementation, but will be changed in subsequent patches to take
advantage of sleepable context. PROCMAP_QUERY ioctl() on
/proc/<pid>/maps file is using build_id_parse() and will automatically
take advantage of more reliable sleepable context implementation.
Reviewed-by: Eduard Zingerman <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions