https://bugs.kde.org/show_bug.cgi?id=460248

--- Comment #11 from guimarcalsi...@gmail.com ---
Unfortunately, I couldn't find a way to get perf data from a specific process,
but this is the output of perf top -K:

Samples: 184K of event 'cycles', 4000 Hz, Event count (approx.): 22948410615
lost: 0/0 drop: 0/0
Overhead  Shared Object                           Symbol
   2,13%  libQt5Core.so.5.15.6                    [.]
QCoreApplicationPrivate::sendThroughApplicationEventFilters
   1,65%  libc.so.6                               [.] malloc
   1,56%  libc.so.6                               [.] cfree
   1,46%  libc.so.6                               [.] __libc_calloc
   1,40%  libc.so.6                               [.] pthread_mutex_lock
   1,10%  [vdso]                                  [.] __vdso_clock_gettime
   0,97%  libQt5Core.so.5.15.6                    [.] QMetaObject::activate
   0,85%  libwayland-client.so.0.21.0             [.]
wl_proxy_marshal_array_flags
   0,78%  [vdso]                                  [.] 0x0000000000000695
   0,74%  libQt5Core.so.5.15.6                    [.] QMutex::lock
   0,71%  libwayland-client.so.0.21.0             [.] wl_display_read_events
   0,65%  libQt5Core.so.5.15.6                    [.]
QEventDispatcherUNIX::processEvents
   0,61%  libc.so.6                               [.] clock_gettime
   0,61%  libQt5Widgets.so.5.15.6                 [.] QApplication::notify
   0,57%  libQt5Core.so.5.15.6                    [.] QMutex::unlock
   0,57%  libffi.so.8.1.1                         [.] 0x0000000000002318
   0,55%  libglib-2.0.so.0.7400.0                 [.] g_mutex_lock
   0,54%  libQt5Core.so.5.15.6                    [.]
QObjectPrivate::maybeSignalConnected
   0,54%  libglib-2.0.so.0.7400.0                 [.] g_main_context_check
   0,49%  libQt5Core.so.5.15.6                    [.] QObject::~QObject
   0,48%  libglib-2.0.so.0.7400.0                 [.] g_mutex_unlock
   0,46%  libQt5Core.so.5.15.6                    [.]
QCoreApplicationPrivate::sendPostedEvents
   0,45%  libglib-2.0.so.0.7400.0                 [.] g_source_ref
   0,43%  libc.so.6                               [.] 0x0000000000153840
   0,43%  libQt5Widgets.so.5.15.6                 [.]
QApplicationPrivate::notify_helper
   0,41%  libc.so.6                               [.] pthread_getspecific
   0,41%  libQt5Core.so.5.15.6                    [.]
QCoreApplication::notifyInternal2
   0,41%  libc.so.6                               [.] 0x000000000008b472
   0,40%  perf                                    [.] hpp__sort_overhead
   0,39%  libc.so.6                               [.] pthread_cond_wait
   0,38%  libc.so.6                               [.] pthread_mutex_unlock
   0,38%  libglib-2.0.so.0.7400.0                 [.] g_main_context_prepare
   0,38%  perf                                    [.] rb_next
   0,38%  libc.so.6                               [.] __poll
   0,37%  ld-linux-x86-64.so.2                    [.] __tls_get_addr

libQt5Core.so.5.15.6 [.]
QCoreApplicationPrivate::sendThroughApplicationEventFilters is always on top.
If I "zoom" into it using the perf tool I get:

Samples: 70K of event 'cycles', 4000 Hz, Event count (approx.): 10027589808,
DSO: libQt5Core.so.5.15.6 lost: 0/0 drop: 0/0
Overhead  Symbol
   1,59%  [.] QCoreApplicationPrivate::sendThroughApplicationEventFilters       
   0,82%  [.] QMetaObject::activate                                             
   0,67%  [.] QObjectPrivate::maybeSignalConnected                              
   0,61%  [.] 0x000000000029452b                                                
   0,53%  [.] 0x0000000000346f54                                                
   0,52%  [.] QMutex::lock                                                      
   0,48%  [.] 0x00000000002bd2f4                                                
   0,43%  [.] QEventDispatcherUNIX::processEvents                               
   0,37%  [.] QObject::~QObject                                                 
   0,36%  [.] QCoreApplication::notifyInternal2                                 
   0,35%  [.] QMutex::unlock                                                    
   0,34%  [.] 0x00000000002bd2d8                                                
   0,32%  [.] 0x00000000002bd360                                                
   0,30%  [.] QCoreApplicationPrivate::sendPostedEvents                         
   0,30%  [.] 0x00000000002bd385                                                
   0,29%  [.] QHashData::nextNode                                               
   0,27%  [.] QArrayData::allocate                                              
   0,25%  [.] QObject::event                                                    
   0,21%  [.] QIODevice::read                                                   
   0,21%  [.] 0x00000000002bd096                                                
   0,20%  [.] 0x00000000002b83ac                                                
   0,20%  [.] 0x00000000002bd104                                                
   0,19%  [.] qCalculateBlockSize                                               
   0,19%  [.] QTimerInfoList::timerWait                                         
   0,18%  [.] QEventDispatcherUNIXPrivate::activateSocketNotifiers              
   0,18%  [.] QVariant::~QVariant                                               
   0,16%  [.] QThread::currentThreadId                                          
   0,16%  [.] QObjectPrivate::~QObjectPrivate                                   
   0,15%  [.] QEventDispatcherUNIXPrivate::markPendingSocketNotifiers           
   0,15%  [.] QWaitCondition::wakeOne                                           
   0,15%  [.] QCoreApplicationPrivate::sendThroughObjectEventFilters            
   0,15%  [.] QListData::append                                                 
   0,15%  [.] QEventLoop::processEvents                                         
   0,15%  [.] QTimerInfoList::activateTimers                                    
   0,14%  [.] QInternal::activateCallbacks

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to