diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2018-04-26 12:45:17 -0300 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-04-26 13:47:20 -0300 |
| commit | 18231d79466e6b183b4f3b2aa66231fb4052fb85 (patch) | |
| tree | 409bc5930e43476cd18ab68b88e4b0573fe62d2a /tools/perf/scripts/python/bin/export-to-postgresql-report | |
| parent | d1fd8d9e6b7b72c8a51bd43b17409c37d82cddef (diff) | |
perf symbols: Use symbol type instead of map->type
map->type is going away, we can derive it from map->prot, so use
the same logic as in the kernel's arch/arm/kernel/module.c file:
ELF32_ST_TYPE(sym->st_info) == STT_FUNC && !(sym->st_value & 1))
This was introduced in b2f8fb237e9c ("perf symbols: Fix annotation of
thumb code"), that fix is maintained with this change.
Cc: Adrian Hunter <[email protected]>
Cc: Dave Martin <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Dr. David Alan Gilbert <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Wang Nan <[email protected]>
Link: https://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions