11.01.2013 Views

IBM AIX Continuous Availability Features - IBM Redbooks

IBM AIX Continuous Availability Features - IBM Redbooks

IBM AIX Continuous Availability Features - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The Vue string functions can be applied only on variables of string type and not on a pointer<br />

variable. Standard string functions like strcpy(), strcat(), and so on, are not necessary in Vue,<br />

because they are supported through the language syntax itself.<br />

For additional information, see the article “ProbeVue: Extended Users Guide Specification”<br />

at:<br />

http://www.ibm.com/developerworks/aix/library/au-probevue/<br />

3.8.6 ProbeVue dynamic tracing example<br />

This is a basic ProbeVue example to show how ProbeVue works and how to use ProbeVue<br />

on a running executable without restarting or recompiling it.<br />

The following steps must be performed:<br />

1. The C program shown in Example 3-38, named pvue, is going to be traced dynamically.<br />

Example 3-38 Basic C program to be dynamically traced: pvue.c<br />

#include <br />

main()<br />

{<br />

int x, rc;<br />

int buff[100];<br />

for (x=0; x

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!