Profiling under Linux

Profiling under Linux

Post by Jan Wie » Sat, 08 Dec 2001 00:15:02



Hi,

    I  had  the  same  problem  with gprof(1) that all the timing
    information is zero. Today I found out what's going on.

    Under Linux  fork(2)  resets  the  ITIMER_PROF.  Getting  the
    itimer  before  the  fork(2)  with getitimer(2) and if pid==0
    setting it with setitimer(2) to what it was  makes  profiling
    work.

Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #

_________________________________________________________
Do You Yahoo!?

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command

 
 
 

1. SQL*Plus site profile/user profile on Solaris

When you start SQL*Plus, it automatically searches for login.sql(so
called user profile) in your current directory first, and then on a
system-dependent path. Does anyone know how I specify the
system-dependent search path? Is the search path supported on Solaris?
I couldn't find anything in Oracle installation manual.

Thanks.

2. rand function

3. Architect Question: Creating profile and sub-profile

4. question regarding simple query to search for words

5. Sybase on Linux - Relational Databases for Linux - with Article and vendor links - Updated 27-Sep-98

6. Grand total addition errors

7. Connecting Linux Server to Linux Client

8. Implentation Project

9. D3 Linux Saving Linux files

10. COBOL and Linux (Re: Linux Distributions)

11. A Sparc/Linux patch (for 7.1), and a Linux

12. Linux shutsdown D3 overnight back to Linux