HP Caliper HP-UX Release Notes

Other Known Problems and Workarounds
If you are using HP Caliper on HP-UX 11i v2, you will need to install kernel patch
PHKL_34020. Please check the HP IT Resource Center for availability and download
information for this patch.
Contact the HP Caliper team if you have questions about this patch.
Per-process overview measurement is only available on 11.31 with kernel patch
PHKL_38072.
HP Caliper's measurements may affect your program's performance. Therefore,
programs that make assumptions about the running time of their code might
behave differently when run under HP Caliper.
When using the pmu_trace measurement, HP Caliper cannot reconcile run-time
address conflicts when your application dynamically loads and unloads modules.
HP Caliper displays the message “The load of the module [library-name]
could not be recorded” when a conflict occurs. The workaround for this problem
is not to unload and reload the libraries that cause a conflict.
When marking targets of branches in disassembly, targets in split procedures will
not be marked if the branch origin is in one part (hot or cold) of the procedure and
branch target is in the other. To enable marking of branch targets, set
disasm_mark_branch_targets = True in the .caliperinit file or a
configuration file.
Running HP Caliper on set-user-ID and set-group-ID programs
For security reasons, the HP-UX kernel does not allow users to run HP Caliper or
any other program to monitor a program that has its setuid or setgid bit set.
If you run a set-user-ID program under HP Caliper, the setuid/setgid will not
be honored. The program runs under HP Caliper as if the setuid bit was never
set.
If any executables in your application have the setuid or setgid bit set, you
need to run HP Caliper as the root user. The program HP Caliper is measuring
can be run as a normal user.
For example, prog1 is a set-user-ID program and it must run as user usr1.
To measure prog1, you must run HP Caliper as the root user, using the following
command line:
$/opt/caliper/bin/caliper fprof -o report -p prog1 su -usr1
-c 'prog1'
In the example command line, HP Caliper runs as root and the user program
prog1 runs as usr1. The option -p prog1 directs HP Caliper to measure only
the program prog1 and not the su command or any other command that the login
process might execute.
8 Known Problems and Workarounds