• Ian Rogers's avatar
    perf maps: Hide maps internals · ff0bd799
    Ian Rogers authored
    Move the struct into the C file. Add maps__equal to work around
    exposing the struct for reference count checking. Add accessors for
    the unwind_libunwind_ops. Move maps_list_node to its only use in
    symbol.c.
    Signed-off-by: default avatarIan Rogers <irogers@google.com>
    Acked-by: default avatarNamhyung Kim <namhyung@kernel.org>
    Cc: K Prateek Nayak <kprateek.nayak@amd.com>
    Cc: James Clark <james.clark@arm.com>
    Cc: Vincent Whitchurch <vincent.whitchurch@axis.com>
    Cc: Alexey Dobriyan <adobriyan@gmail.com>
    Cc: Colin Ian King <colin.i.king@gmail.com>
    Cc: Changbin Du <changbin.du@huawei.com>
    Cc: Masami Hiramatsu <mhiramat@kernel.org>
    Cc: Song Liu <song@kernel.org>
    Cc: Leo Yan <leo.yan@linux.dev>
    Cc: Athira Rajeev <atrajeev@linux.vnet.ibm.com>
    Cc: Liam Howlett <liam.howlett@oracle.com>
    Cc: Artem Savkov <asavkov@redhat.com>
    Cc: bpf@vger.kernel.org
    Signed-off-by: default avatarNamhyung Kim <namhyung@kernel.org>
    Link: https://lore.kernel.org/r/20240210031746.4057262-6-irogers@google.com
    ff0bd799
callchain.c 42.2 KB