perf tools[ARM]:Not able to detect [kernel.kallsyms] dso on Qualcomm MSM 8974

From: Prankul Garg
Date: Tue Jun 03 2014 - 10:05:15 EST


Hi,

Qualcomm MSM 8974 is not able to detect [kernel.kallsyms] dso either with
Hardware or Tracepoint events while Exynos do.

Corresponding logs are as:

-----------------Qualcomm MSM 8974----------------------------------

./perf record -e cycles cal
# Overhead Command Shared Object Symbol
# ........ ....... ............. .............................
#

75.02% cal [ks8851] [k] 0x01114a5c
4.58% cal libc-2.13.so [.] 0x000f9fa8
4.49% cal ld-2.13.so [.] __udivsi3
4.49% cal ld-2.13.so [.] do_lookup_x
2.94% cal ld-2.13.so [.] _dl_relocate_object
1.50% cal ld-2.13.so [.] _dl_protect_relro
1.50% cal ld-2.13.so [.] check_match.8416
1.46% cal ld-2.13.so [.] calloc
1.39% cal ld-2.13.so [.] _dl_add_to_namespace_list
1.39% cal ld-2.13.so [.] memset
1.24% cal ld-2.13.so [.] _dl_new_object

./perf record -e kmem:kmalloc cal
# Overhead Command Shared Object Symbol
# ........ ....... ............. ..............
#

100.00% cal [ks8851] [k] 0x01151dac



----------------Exynos------------------------------------

./perf record -e cycles cal
# Overhead Command Shared Object
Symbol
# ........ ....... ..........................
...............................
#

8.02% cal ld-2.13.so [.] 0x00001d40
5.47% cal [kernel.kallsyms] [k] cpu_v7_set_pte_ext
5.46% cal libc-2.13.so [.] 0x000fbcc8
5.44% cal [kernel.kallsyms] [k] __memzero
5.39% cal [kernel.kallsyms] [k] strcmp
5.29% cal [kernel.kallsyms] [k] copy_page
5.20% cal cal [.] 0x00000cb0
4.87% cal [kernel.kallsyms] [k] unmap_page_range
2.78% cal [kernel.kallsyms] [k] __wake_up_bit
2.77% cal [kernel.kallsyms] [k] hrtimer_run_pending
2.76% cal [kernel.kallsyms] [k]
mem_cgroup_uncharge_start
2.76% cal [kernel.kallsyms] [k] submit_bio
2.75% cal [kernel.kallsyms] [k] n_tty_write
2.73% cal [kernel.kallsyms] [k] strncpy
2.68% cal [kernel.kallsyms] [k] do_page_fault
[...]

./perf record -e kmem:kmalloc cal
# Overhead Command Shared Object Symbol
# ........ ....... ................. ..........................
#

97.37% cal [kernel.kallsyms] [k] kmem_cache_alloc_trace
2.63% cal [kernel.kallsyms] [k] __kmalloc





--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/