]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
perf map: Use map->prot in place of type==MAP__FUNCTION
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 26 Apr 2018 19:08:38 +0000 (16:08 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 26 Apr 2018 19:08:38 +0000 (16:08 -0300)
commitd183b2614fcd6d0a10c792891fd09bb254594ad4
tree8a223760d22ee5f7280284a07381b584ddf7ccd0
parent18231d79466e6b183b4f3b2aa66231fb4052fb85
perf map: Use map->prot in place of type==MAP__FUNCTION

Equivalent, one step more in ditching enum map_type.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: https://lkml.kernel.org/n/tip-mrjjc87a4tpf896j5u4sql4e@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/map.c