[haiku-bugs] Re: [Haiku] #16345: [regression] profile: don't record userland functions

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sat, 04 Jul 2020 04:34:56 -0000

#16345: [regression] profile: don't record userland functions
------------------------+----------------------------
  Reporter:  X512       |      Owner:  nobody
      Type:  bug        |     Status:  new
  Priority:  normal     |  Milestone:  Unscheduled
 Component:  - General  |    Version:  R1/Development
Resolution:             |   Keywords:
Blocked By:             |   Blocking:
  Platform:  All        |
------------------------+----------------------------
Comment (by X512):

 On 32 bit `profile` for userland functions is not working at all. Reboot
 don't help.

 {{{
 profiling results for thread "w>TestApp" (2449):
   tick interval:  1000 us
   total ticks:    4043 (4043000 us)
   unknown ticks:  0 (0 us,   0.00%)
   dropped ticks:  0 (0 us,   0.00%)

         hits     unknown    image
 ------------------------------------------------------------------------------
         2695           0        1 kernel_x86

         hits       in us    in %   image  function
 ------------------------------------------------------------------------------
         1112     1112000   27.50       1
 Wait__22ConditionVariableEntryUlx
          394      394000    9.75       1  handle_syscall
          235      235000    5.81       1  _Notify__17ConditionVariablebl
          182      182000    4.50       1  x86_sysenter
          167      167000    4.13       1  _mutex_lock
          126      126000    3.12       1  get_locked_port__Fl
          122      122000    3.02       1  _mutex_unlock
           68       68000    1.68       1  atomic_add
           43       43000    1.06       1  object_depot_obtain
           38       38000    0.94       1  _arch_cpu_user_memcpy
           28       28000    0.69       1  _user_read_port_etc
           25       25000    0.62       1  object_depot_store
           24       24000    0.59       1
 Add__17ConditionVariableP22ConditionVariableEntry
           18       18000    0.45       1  writev_port_etc
           16       16000    0.40       1  read_port_etc
           16       16000    0.40       1
 
put_port_message__FPQ246_GLOBAL_.N..._src_system_kernel_port.cpp5DnjRa12port_message
           10       10000    0.25       1
 AcquireReference__14BReferenceable
           10       10000    0.25       1
 
get_port_message__FlUlUlxPPQ246_GLOBAL_.N..._src_system_kernel_port.cpp5DnjRa12port_messageRQ246_GLOBAL_.N..._src_system_kernel_port.cpp5DnjRa4Port
            8        8000    0.20       1  _user_write_port_etc
            8        8000    0.20       1  user_memcpy
            7        7000    0.17       1
 ReleaseReference__14BReferenceable
            6        6000    0.15       1  object_cache_alloc
            6        6000    0.15       1  _get_port_message_info_etc
            4        4000    0.10       1  port_count
            3        3000    0.07       1
 
notify_port_select_events__FPQ246_GLOBAL_.N..._src_system_kernel_port.cpp5DnjRa4PortUs
            3        3000    0.07       1  port_buffer_size_etc
            2        2000    0.05       1
 add_alloc_tracing_entry__FP11ObjectCacheUlPv
            2        2000    0.05       1  malloc
            2        2000    0.05       1  object_cache_free
            2        2000    0.05       1  size_to_index__FUl
            2        2000    0.05       1  geteuid
            1        1000    0.02       1  block_free__FPvUl
            1        1000    0.02       1  block_alloc__FUlUlUl
            1        1000    0.02       1  _kern_getuid
            1        1000    0.02       1  thread_block
            1        1000    0.02       1  getegid
            1        1000    0.02       1  _user_port_buffer_size_etc
 }}}
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/16345#comment:4>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: