Sponsored Content
Top Forums UNIX for Advanced & Expert Users Profiling..entry for a function in pthread_create Post 82156 by jim mcnamara on Monday 29th of August 2005 09:23:58 AM
Old 08-29-2005
Can I make a suggestion? Try using monitor(), or profil(). You can force monitoring on a given function. See man monitor.

Even better use the profiler on your system, unless this is homework.
 

7 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Kernel Profiling

I compiled my device driver with the profiling option -p but while linking I am getting undefined reference to _mcount. LD /vobs/femto_drivers/DspBiosLink/dsplinkk/src/dsplinkk.o Building modules, stage 2. MODPOST *** Warning: "_mcount" undefined! Architechture: ppc32 From... (0 Replies)
Discussion started by: Ashok V
0 Replies

2. UNIX for Dummies Questions & Answers

profiling execution of a process

question goes like this : Explain how users can profile execution of a process with help of an example? can some one pls give me the answer?? (1 Reply)
Discussion started by: rakesh1988
1 Replies

3. Programming

pthread_create

The prototype for pthread_create function is like this:- int pthread_create(pthread_t *thread,pthread_attr_t *attr,void *(*start routine),void *arg); Q.1 .Why the return type of the start_routine must be void*?? Q.2. Why should we pass arg by converting into void * only ?? Thank You (3 Replies)
Discussion started by: sunil_abhay
3 Replies

4. Programming

Profiling results and SMP

The SCO OSR 5.7 system was migrated from older HP DL360 to new DL380 G7. The SMP feature was not activated on older box, it is activated now on this 4 core Xeon. A s/w we maintain has been copied without any change over to the new box. I noticed that the application profiling does not show any... (4 Replies)
Discussion started by: migurus
4 Replies

5. AIX

C profiling tool for AIX

Hello everybody, Please let me know if there are any free C profiling tool for AIX environment Thanks in advance (0 Replies)
Discussion started by: SteAlma
0 Replies

6. How to Post in the The UNIX and Linux Forums

Help me, write a bash script to delete parent entry with all their child entry in LDAP UNIX server

Hi All, Please help me and guide me to write a bash/shell script on Linux box to delete parent entry with all their child entries. example: Parent is : ---------- dn: email=yogesh.kumar@wipro.com, o=wipro, o=in child is: ---------- dn: cn: yogesh kumar, email=yogesh.kumar@wipro.com,... (1 Reply)
Discussion started by: Chand
1 Replies

7. Debian

Profiling Processes while shutdown

I was wondering how can I find the culprit of a slow shutdown on my debian box? I am actually looking for a diagnosis tool that might dump the process name and amount of time it took to close the process after signal was send. As for now I am trying to use journalctl to seek some information,... (5 Replies)
Discussion started by: Varun Pandey
5 Replies
LM-PROFILER.CONF(8)					      System Manager's Manual					       LM-PROFILER.CONF(8)

NAME
/etc/laptop-mode/lm-profiler.conf - Configuration file for lm-profiler, a profiler for laptop-mode-tools. DESCRIPTION
This manual page documents the options that can be set in the /etc/laptop-mode/lm-profiler.conf configuration file. For a description of what lm-profiler does, see the lm-profiler(8) manpage. SETTINGS
The syntax of options is OPTION=value. The following settings are available in lm-profiler.conf: VERBOSE_OUTPUT Set this to 1 if you want to see a lot of output when you run lm-profiler, and 0 if you don't want this. Useful for debugging purposes. (Currently does nothing.) PROFILE_RUN_LENGTH The length of a profiling run, in seconds. This should be a while, so that lm-profiler can gather enough information. The default is 10 minutes (600 seconds). ACTIVITY_INTERVAL_MIN ACTIVITY_INTERVAL_MAX The behaviour that you want to avoid when you have your hard drive spun down, is disk accesses that are spread out over time, because your hard drive will have to spin up for each access. lm-profiler detects when applications perform disk accesses that are at least some time apart (otherwise they can be considered part of the same access) but not TOO far apart (otherwise they are no problem). These settings configure what lm-profiler considers "at least some time apart" and "too far apart", respectively, in seconds. RECOMMEND_DEFAULT_SERVICES DEFAULT_SERVICES If RECOMMEND_DEFAULT_SERVICES is set to 1 (enabled), then lm-profiler will always suggest turning off the services listed in DEFAULT_SERVICES (separated by spaces). IGNORE_PROGRAMS Programs listed in this option, separated by spaces, will be ignored for disk activity profiling. The default settings (which can be referenced as $DEF_IGNORE_PROGRAMS) include common utility programs and all programs used by lm-profiler itself. RECOMMEND_NETWORK_SERVICES When this option is enabled (value 1), lm-profiler will detect any services that are listening on network ports, and it will sug- gest that you disable them. IGNORE_NETWORK_SERVICES Services listed in this configuration option (separated by spaces) are not suggested as a network service by lm-profiler. The default values can be accessed as $DEF_IGNORE_NETWORK_SERVICES. SEE ALSO
lm-profiler(8). laptop_mode(8). laptop-mode.conf(8). AUTHOR
This manual page was written by Bart Samwel (bart@samwel.tk). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation. LM-PROFILER.CONF(8)
All times are GMT -4. The time now is 01:25 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy