#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 waddlesplash):
I just tried a quick profile of HaikuDepot, and I got a lot of results
that were clearly in userland functions, e.g.:
{{{
profiling results for thread "LocalPkgDataLoadProcess" (4739):
tick interval: 1000 us
total ticks: 341 (341000 us)
unknown ticks: 0 (0 us, 0.00%)
dropped ticks: 0 (0 us, 0.00%)
hits unknown image
------------------------------------------------------------------------------
4 0 38481 /boot/system/apps/HaikuDepot
97 0 38479 commpage
40 0 38482 /boot/system/lib/libbe.so
23 0 38483 /boot/system/lib/libpackage.so
155 0 38487 /boot/system/lib/libroot.so
8 0 38495 /boot/system/lib/libz.so.1.2.11
hits in us in % image function
------------------------------------------------------------------------------
86 86000 25.22 38479 commpage_syscall
27 27000 7.92 38487 isValid__Q28BPrivate10superblock
17 17000 4.99 38487
malloc__Q28BPrivate10threadHeapUl
12 12000 3.52 38487
freeBlock__Q28BPrivate9hoardHeapRPQ28BPrivate5blockRPQ28BPrivate10superblockiPQ28BPrivate11processHeap
11 11000 3.23 38487 atomic_add
10 10000 2.93 38487 __mutex_lock
9 9000 2.64 38487 strncpy
8 8000 2.35 38487
computeFullness__Q28BPrivate10superblock
7 7000 2.05 38495 inflate_fast
}}}
32-bit in VMware here.
--
Ticket URL: <https://dev.haiku-os.org/ticket/16345#comment:5>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.