mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
![Jiri Olsa](/assets/img/avatar_default.png)
Moving stack_map_get_build_id into lib with declaration in linux/buildid.h header: int build_id_parse(struct vm_area_struct *vma, unsigned char *build_id); This function returns build id for given struct vm_area_struct. There is no functional change to stack_map_get_build_id function. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Song Liu <songliubraving@fb.com> Link: https://lore.kernel.org/bpf/20210114134044.1418404-2-jolsa@kernel.org
11 lines
230 B
C
11 lines
230 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _LINUX_BUILDID_H
|
|
#define _LINUX_BUILDID_H
|
|
|
|
#include <linux/mm_types.h>
|
|
|
|
#define BUILD_ID_SIZE_MAX 20
|
|
|
|
int build_id_parse(struct vm_area_struct *vma, unsigned char *build_id);
|
|
|
|
#endif
|