public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* perf tools[ARM]:Not able to detect [kernel.kallsyms] dso on Qualcomm MSM 8974
@ 2014-06-03 14:02 Prankul Garg
  2014-06-03 14:13 ` David Ahern
  0 siblings, 1 reply; 2+ messages in thread
From: Prankul Garg @ 2014-06-03 14:02 UTC (permalink / raw)
  To: linux-kernel

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             



  


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: perf tools[ARM]:Not able to detect [kernel.kallsyms] dso on Qualcomm MSM 8974
  2014-06-03 14:02 perf tools[ARM]:Not able to detect [kernel.kallsyms] dso on Qualcomm MSM 8974 Prankul Garg
@ 2014-06-03 14:13 ` David Ahern
  0 siblings, 0 replies; 2+ messages in thread
From: David Ahern @ 2014-06-03 14:13 UTC (permalink / raw)
  To: Prankul Garg, linux-kernel

On 6/3/14, 8:02 AM, Prankul Garg wrote:
> Qualcomm MSM 8974 is not able to detect [kernel.kallsyms] dso either with
> Hardware or Tracepoint events while Exynos do.

Add -v to perf-record and perf-report.

And try:
perf report -D | grep kallsyms

Do you see something like:
0 0 0xd8 [0x58]: PERF_RECORD_MMAP -1/0: [0(0xffffffff9fffffff) @ 
0xffffffff81000000]: x [kernel.kallsyms]_text

David

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-03 14:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-03 14:02 perf tools[ARM]:Not able to detect [kernel.kallsyms] dso on Qualcomm MSM 8974 Prankul Garg
2014-06-03 14:13 ` David Ahern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox