Defining profiling options

These instructions provide typical settings for profiling portlets. For comprehensive information on all profiling options, see Specifying profiling criteria.
  1. From Rational® Developer, switch to the Profiling and Logging perspective by following these steps:
    1. Select Window > Open Perspective > Other.
    2. Select the Show all check box.
    3. Select Profiling and Logging. Click OK.
    4. If the Confirm Enablement dialog box appears, click OK.
  2. Select Run > Profile... The Create, manage, and run configurations dialog box appears.
  3. Select Attach - Java Process from the Configurations list.
  4. Click New.
  5. Provide a Name for the new configuration.
  6. On the Host tab, select a server from the Default Hosts list. If your server does not appear on the list, enter the Host name or IP address and click Add.
  7. Click the Test Connection button to verify the connection. If the test fails, follow the instructions and retry the test until it is successful.
  8. On the Profiling tab, select the Overview sub-tab.
  9. Select one of the profiling sets or add a new one. The contents of the profiling set that you selected are displayed in the bottom panel. See Profiling sets and available views for details on the profiling sets available. For example, select the Execution History profiling set.
  10. Click Edit to modify the profiling set.
  11. Select the type of profiling data that you want to capture. For example, the Execution History profiling set has Time Analysis > Execution Time Analysis preselected. Click Next.
  12. Select one of the types of filter sets or add a new one. For example, select the Default filter set.
  13. In the bottom pane, define the packages, classes and methods to include or exclude from the filter set. For example,
    1. Remove all entries from the Contents of selected filter set box by selecting each entry and clicking Remove.
    2. Click Add.
    3. Enter * in the Package or Class field.
    4. Enter * in the Method Name field
    5. Select EXCLUDE for the Rule. Click OK.
    6. Click Add.
    7. Enter all or part of a package or class name that you want to profile. For example, if your package name is com.ibm, enter com.ibm.* to profile all classes in the package.
    8. Enter * to profile all methods, or enter the actual method name.
    9. Select INCLUDE for the Rule. Click OK.
    10. Change the order of the filter sets using the Up and Down buttons. The INCLUDE entry that you created should be the first on the list.
    11. Click Finish.
  14. Click Apply > Close. This saves the default settings for profiling operations. These options can be altered at runtime.
Related concepts
Getting started with run-time problem determination
Related tasks
Profiling portlets on local servers
Profiling portlets on remote servers
Enabling profiling on remote WebSphere Portal servers
Creating a profiling configuration for run-time problem determination

(C) Copyright IBM Corporation 2002, 2005. All Rights Reserved.