Using gprof for profiling information

Hi,
I would like to gather some profiling information for an application. It links with many other librraies (.so). I complied the libraries with the -xpg option to generate profiling data. I set the LD_PROFILE environment variable to one of the libraries (.so) so that the data is generated for that library.Using gprof I am able to determine the time spent in each function in that library. But How do I do the same when I want to profile multiple libraries at the same time. LD_PROFILE does not accept multiple libraries. Is there any way to gather the profiling data for a process that covers all function calls.
Thanks
Mahesh

I haven't used the sampler API directly. I found this blog post which talks a little bit about the theory behind it:
http://stopcoding.wordpress.com/2008/04/26/lets-talk-about-the-flex-profiler/
Also, here is the AS code that Flash Builder uses to read data from the sampler API, and then send it via Socket connection back to the Flash Builder. It's a somewhat old version, but it's all I could find online. I don't know if it will be useful.
http://bugs.adobe.com/jira/secure/attachment/21183/ProfilerAgent.as

Similar Messages

  • Using numbers for roster information. Imported from another program. Now seem to have extra headers, one listing name, address, etc.

    Using numbers for roster information. Imported from another program. Now seem to have extra headers, one listing name, address, etc. & another A, B, C. They don't mesh & can't get rid of either. All info there, but can't change width of columns.

    I think my problem is that I have inadvertently created three tables (I only want one). I have included a screen shot of the light grey line under B and the words Table 1 behind it.

  • Using Alchemy for profiling Flash

    I'm new to Alchemy so I don't know if anyone has tried to use Alchemy for profiling Flash.  Essentially, I was thinking that a call to QueryPerformanceCounter would give us a much more accurate timer when compared to getTimer.  This would allow inline profiling of runtime functions without having to do 1000s of iterations just to overcome the 1 - 10 ms accuracy of getTimer.  QueryPerformanceCounter is OS specific but then it would only be used by developers.  Is this possible with Alchemy?  Has anyone already invented this wheel?
    Thanks,
    Jason

    I haven't used the sampler API directly. I found this blog post which talks a little bit about the theory behind it:
    http://stopcoding.wordpress.com/2008/04/26/lets-talk-about-the-flex-profiler/
    Also, here is the AS code that Flash Builder uses to read data from the sampler API, and then send it via Socket connection back to the Flash Builder. It's a somewhat old version, but it's all I could find online. I don't know if it will be useful.
    http://bugs.adobe.com/jira/secure/attachment/21183/ProfilerAgent.as

  • AppleScript how to use "get" for field information and drop-down boxes?

    Hi all,
    First post.
    Looking to use the "get" function or similar for getting information in a list or from a drop-down box or a field.
    Example, you open keychain, open the info. for a cert and want to read the currently selected trust setting for "When using this certificate" drop-down.
    Or, you want to check the Common Name field under details.
    How would I return these specific values?
    Thank you,
    -b

    The exact question being asked here: http://forum.soft32.com/mac/select-table-row-ftopict101735.html
    But, that doesn't work with the latest AppleScript.

  • Why not keep Forms Central as a separate product to stand and sell on its own. I use it for client information to process their data-ptocessing in my mailing business; do not need or want electronic tabulation. I would be happy to pay several hundred doll

    I use a Forms Central form to ask questions of clients to return with their mailing database; tabulation is not wanted or required. From the answers and boxes marked, I have most or all the information to process data in accordance with the United States Postal Service. After, I return the data and paperwork including eDoc worked so that my company wins, the US Postal Service and my client (and possibly their client) wins! If Forms central was simply an interactive forms builder used for direct B2B or B2C information, it would be a winner. If I wanted SurveyMonkey, then would get it but I and others like me do not need or want tabulation services as I assume Adobe looked at Forms Central as a cash cow; it isn't that at all for me.

    I use a Forms Central form to ask questions of clients to return with their mailing database; tabulation is not wanted or required. From the answers and boxes marked, I have most or all the information to process data in accordance with the United States Postal Service. After, I return the data and paperwork including eDoc worked so that my company wins, the US Postal Service and my client (and possibly their client) wins! If Forms central was simply an interactive forms builder used for direct B2B or B2C information, it would be a winner. If I wanted SurveyMonkey, then would get it but I and others like me do not need or want tabulation services as I assume Adobe looked at Forms Central as a cash cow; it isn't that at all for me.

  • Eliminating type parameters used only for superclass information?

    I have a class called BaseObject. I have another class called Reference. A
    BaseObject has one canonical Reference that can be gotten and set. A Reference
    is capable of pointing at a BaseObject subclass of a particular type and can
    return the Class of that BaseObject subclass.
    I'd like to genericize these classes so that if you create a reference and
    assign it to an object, their types should line up. That is, a Reference that
    points to a Banana should not be able to be assigned as a canonical reference to
    a Cherry.
    My goal is to express these type constraints once somewhere. I cannot seem to
    achieve my goal.
    Pass one, which looks OK at the outset:
      public class BaseObject<T extends BaseObject> {
        public Reference<T> getReference() {
        public void setReference(final Reference<T> reference) {
      public class Reference<T extends BaseObject> {
        public Class<T> getObjectType() {
      }But that would mean that every subclass of BaseObject<T> would need to be
    declared with a type parameter as well to permit further subclassing, right?
    Like so:
      public class Fruit<T extends Fruit> extends BaseObject<T> {
        // Note: T is not used in this class except to "pass it up" to BaseObject
      public class Banana<T extends Banana> extends Fruit<T> {
        // Note: T is not used in this class except to "pass it up" to Fruit
        // Callers will have to say: new Banana<Banana>();
      }That seems WEIRD to me. Is there any way to...to...hide the genericization of
    the fundamental classes--BaseObject and Reference--without forcing the type
    parameters to be propagated all the way down the subclass stack?
    In other words, assuming a hierarchy of Object<--Fruit<--Banana, is there any
    way to have Fruit and Banana not mention type parameters at all?
    Thanks,
    Laird

    I'm up a creek here, aren't I?I think so. It's been a while since I complained
    about the lack of 'self-types' in Java. 'Self-type'
    actually means something different in other languages
    (Scala for example) so just be aware of that.AH! Yes! That's exactly what I'm talking about. OK, knowing that I'm screwed helps a lot, actually. It lets me know where I can and cannot apply generics to solve problems.
    I would envision:
    class BaseObject<self>
    // OR
    class BaseObject<T extends self>The idea would be that self is what ever the
    'current' class is. So if you used the first one,
    the type of the class that extended BaseObject would
    be assumed to be the parameteric type. The second
    one would require that the parameter (if present at
    time of variable of declaration is instantiation) be
    at least as specific as the current extenstion of
    BaseObject.Yes, exactly. This would be wildly helpful. Oh well.
    Back to 1.4 syntax.
    Cheers,
    Laird

  • Adding Used DC for cluster information.

    hi ,
    I am developing a par which uses "com.sap.portal.runtime.system.clusterinformation_api.jar" . I want to Add this jar file while building my Portal DC. Can you please tell me which DC should be added under Used DCs. Is any standred DC avaiable under sap.com_SAP-JEE_1 or sap.com_SAP_BUILDT_1 OR sap.com_SAP_JTECHS_1 SCAs ?  
    Regards,
    Shrikant.

    Hi,
    You can find it in this location.
    /usr/sap/<SID>/JC<nn>/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/portal/portalapps/com.sap.portal.runtime.system.clusterinformation/lib
    Hope that helps,
    Thanks,
    Rajit S
    PS: Award points if solution was helpful

  • How can I use two "Status profile" for two categories of users?

    Hi friends,
    I tried to configure two categories of users :
    1 - First category (User1) can process the message and access to the standard Status profile (SLFC0001),
    2 - The second category (User2) can process the message using another status profile (ZSLFC001).
    To do this, i process like following :
    1 - I created ZSLFN autorization key by copying of SLFN (Tcode :BS52).
    2 - I created the Status Profile "ZSLFC001" by coping the SLFC0001(TCode : CRMBS02).
    3 - I suppress some user status (ex : send to sap) and I replace SLFN autorization key by "ZSLFN"
    4 - I created Transation type "ZLFN" assigned to ZSLFC001 status profile.
    5 - I created a ZSAP_SUPPDESK_PROCESS rôle and I set the ZSLFN as authorization key in "B_USERST_T" and in "B_USERSTAT". This role is affected to the User2
    Unfortunately, the User2 see and access to the "Send to SAP" user status. I think that the status profile ZSLFC001 is not used!!!
    Tank you for your help,
    Samad

    Hello Xavier,
    I changed the Process Type in DNO_CUST04, and I had a error message : "The system could not create the message because of an RFC connection "NONE " error Message was not created".
    Furthermore, The change of process type will affect all users.
    I think that there are two possibilities :
    - Using process type (SLFN or ZLFN) according to the user processor,
    - or using the same process type (SLFN) and according to the processor to load the appropriate "status profile".
    Please find below more informations about the role:
    - the Manually   Status Management: Set/Delete User Status                    B_USERSTAT
       Activity                  :    01, 06                                
       Authorization key   :    ZSLFN                               
       Object Category     :     *                                          
       Status Profile         :    *                                          
    Thank you
    Best regards
    Samad

  • Using the Same Profile for Outlook Connector and Exchange

    Is anyone using the same profile in Outlook for both the Oracle Connector for Outlook and Exchange server? Only Exchange would have an IMAP mail service defined.
    Oracle tech support kindly provided me with the following information but I would really appreciate hearing about customer experiences:
    "In theory this should work without causing any problem if only one service within the same Profile is configured for mail. However, before configuring a large amount of users with such a configuration, please start with 1 user and perform some tests, as I am not aware of anyone using such a configuration. The fact that you want your Oracle calendar users to invite Exchange users, will be like inviting External users, the Free/Busy information for these users will not be available etc. Also inviting external user is an already existing feature of the Oracle Calendar."
    Thanks very much.
    Brenda

    We are doing it currently as we are switching over from Exchange 5.5 to OCS. We set up a profile using the Oracle connector and then go into properties and add the Exchange account. We used this method to move files from the Exchange server to the Oracle server by having both profiles running.

  • How to change the font style for user profile information in My Profile page?

    Hello,
    In my profile page, user information is getting display as below:
    Name
    Title
    Department --> Would you please let me know how can I change style for Department ( Information Technologies) Attribute in this section ?
    Thanks and Regards,
    Dipti Chhatrapati

    Hi Romeo,
    I got your point and class I require to apply is as below:
    .ms-contactcardtext3 {
        font-family:
    Arial !important;
        font-style: italic !important;
    Thank you for your trick :) 
    But its getting apply to title as well as to Department - as above class is same for both fields , while I require to change the style only for the department.
    Any suggestions ? I have changed the same using Designer which works as per the need , however - I dont want to use SPD Tool !!!
    Bottom line : I Require different font style in Title and Department without use of SPD.
    Any suggestions/idea ?
    Thanks and Regards,
    Dipti Chhatrapati

  • How do I use the same profile for two users on the same computer

    I use my laptop both at home and at work. And in each venue I use a different user log on. But I wish to have firefox use the same profile for each user log on. How can I get firefox to point to the same profile for each user?

    Note that only one user (Firefox instance) can use a profile folder at the time, so if you would switch the Windows user to another account then you would first have to close Firefox.
    * http://kb.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows
    * http://kb.mozillazine.org/Shortcut_to_a_specific_profile
    * http://kb.mozillazine.org/Using_multiple_profiles_-_Firefox
    * http://kb.mozillazine.org/Bypassing_the_Profile_Manager

  • How to use the selection profile and status profile for production order?

    Hi expert,
       I want to know how to use the selection profile and status profile for production order. what's the usage for these two selection profile and status profile ?
      Please help me.
      thanks in advance.
      george.shi

    Hi George,
    There are are two types of statuses.One is system status and second one is user status.These statuses will tell us current situation of an order.
    We can't change system statuses.But we can create our own statuses through status profile.With this profile we can control user statuses.
    In this status profile,
    1.We define the sequence in which user statuses can be activated,
    2.We define initial statuses
    3. Allow or prohibit certain business transactions.
    Selection profiles are used to select the objects (say production orders) with different status combinations.We assign status profiles to selection profiles in BS42 T-Code.
    Regards,
    Raja.
    Edited by: Rajarao on Oct 30, 2008 6:21 AM
    Edited by: Rajarao on Oct 30, 2008 6:22 AM

  • Using Flex Performance Profiler for Profiling Flex  with Java Applications

    Hi , I am planning to use Flex Profiler to profile my Application .
    I have developed a sample Application using Flex MXML ,some ActionScript classes for Events and Cairngorm , Java , Oracle as database and Blazeds . 
    Can i use Flex Performance Profiler to Profile my Application . ?? I am asking this question as i ad read the below line from Adobe site and My Application includes java Methods 
    "You can use the profiler to profile ActionScript 3.0 applications " Can anybody please tell me What does this mean ?? and can i use the Flex Performnace Profiler . Please suggets me .

    Thanks Karl for the prompt response .
    I am making a call to a Java Method from my Action Script function , or getting data from Java Method into the ActionScript function .
    So my question  is , will the Flex Profiler will be applicable in this case as it internally calls Java Methods .

  • Alternatives to using Zenworks for Roaming Profiles

    Novell support tells me I should be using a dedicated Server for Zenworks
    This would be a real over kill!
    So, are there any alternatives to using Zenworks for Roaming profiles?
    Googeling I see SAMBA can support Roaming Profiles
    Samba is installed & I created Samba users via SBE Admin but when I select
    Samba Administration - seems to be no details ie. users, workgroup name etc?
    Is Novell Samba differently?
    Is it possible setup Roaming Profiles with Novell Samba?

    I'm gonna attempt this with a couple of scripts - (one added to login script
    & the other at shutdown)
    to copy Desktop & Favorites - already told users they will be shot if the
    they put files in my docs!
    (It would be nice to do Desktop Colour / Image etc so the user feels at home
    but...)
    "W_ Prindl" <[email protected]> wrote in message
    news:[email protected]...
    > Although I use OWS SBE I never use the integrated Simba tools, etc. I
    > install everything using the standard non SBE methods. So I don't know
    > if you installed SLES Samba or OES ( = Novell) Samba. Of course Novell
    > Samba is different from plain Samba as it provides integrated
    > Edirectory logon and - if using NSS volumes - transparent consistent
    > file access rights.
    >
    > For Novell Samba your users have to be LUM enabled.
    >
    > But roaming profiles should work regardless of the Samba server in use.
    > But of course - if you do not have a common configuration source such
    > as a domain or Zenworks - you will have to configure your roaming ( =
    > server-stored) profiles locally at each PC for each user individually.
    > Should be possible in a 10 users/10 PCs environment - but that are 100
    > configuration entries just for this feature.
    >
    > BTW I have Zenworks and Groupwise running on the same server in a small
    > setup similar to yours.
    >
    > Only negative thing with Zenworks Configuration Management is, that it
    > is a real resource hog at the client side. Recent dual core or quad
    > core processor PCs have no problem, but older dual cores and single
    > cores come really to a halt with the Zenworks Agent.
    > --
    > W. Prindl
    >
    >
    > Chris wrote:
    >
    >>Novell support tells me I should be using a dedicated Server for
    >>Zenworks This would be a real over kill!
    >>
    >>So, are there any alternatives to using Zenworks for Roaming profiles?
    >>
    >>Googeling I see SAMBA can support Roaming Profiles
    >>
    >>Samba is installed & I created Samba users via SBE Admin but when I
    >>select Samba Administration - seems to be no details ie. users,
    >>workgroup name etc?
    >>
    >>Is Novell Samba differently?
    >>
    >>Is it possible setup Roaming Profiles with Novell Samba?

  • System profiler "information is not available" for PCI cards

    After swapping two cards in their slots, I get the message system profiler "information is not available" for all PCI cards. Mac Pro 4 core 2.66, OS X 4.11 server. The cards are still working. I tried clearing PRAM, etc. Is this a hardware problem or just system profiler being difficult? Is there any way to tell?

    That is a bit odd. Maybe try forcing kextd to run can resolve. You might be working off cached info and it is giving System Profiler a hard time. Run this command and then reboot:
    sudo touch /System/Library/Extensions
    That will update the modify time of the Extensions folder and trick the system into thinking you installed new drivers. This will force an update of the kernel caches when you reboot.
    Not sure it this will do it, but best I could think of.
    Hope it helps.

Maybe you are looking for

  • HT1335 how do i get music to sync to my ipod

    i recently got my computer redone ...and when i got it back , it will let me sync my music to my ipod or pull up the music that is on my ipod and im not sure what to do to make it ..

  • Final Cut Pro color problem

    So I just got myself a new 24' LED monitor for my home edit suite, and I have been very pleased with it.  I just happened to open FCP to see adjust my workspace for the bigger setup, and I noticed a strange problem.  In FCP, the viewer and the canvas

  • Open and move files follow by date

    How do I open files follow by date for button 1 and move the files follow by date for button 2? Thanks

  • How to Send a logic project between people??

    Need to send a Logic project of mine to a friend a few hours away, What is the best way to do this? What save options do I have to choose for it to open as the project is on my mac on theirs so they can start editing and mucking around with it? Thanx

  • Error when trying to delete a query from production

    Hi Experts, When i tried to delete a query from <b>production system</b> using RSZDELETE, I am getting an error message like " Query object 42BYOKUXDNZBZKMC2VHR5Z19H is blocked. Deletion has been cancelled." i went to E071 table using SE16,and found