Print this page
6282 ONBLD man pages not pbchk clean
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Josef Sipek <jeffpc@josefsipek.net>

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/scripts/wsdiff.1onbld
          +++ new/usr/src/tools/scripts/wsdiff.1onbld
↓ open down ↓ 11 lines elided ↑ open up ↑
  12   12  .\" " When distributing Covered Code, include this CDDL HEADER in each
  13   13  .\" " file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  14   14  .\" " If applicable, add the following below this CDDL HEADER, with the
  15   15  .\" " fields enclosed by brackets "[]" replaced with your own identifying
  16   16  .\" " information: Portions Copyright [yyyy] [name of copyright owner]
  17   17  .\" "
  18   18  .\" " CDDL HEADER END
  19   19  .\" "
  20   20  .\" " Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
  21   21  .\" "
  22      -.TH wsdiff 1ONBLD "15 Jul 2010"
       22 +.TH WSDIFF 1ONBLD "Jul 15, 2010"
  23   23  .I wsdiff
  24   24  \- report differences between proto area objects
  25   25  .SH SYNOPSIS
  26   26  \fBwsdiff [-dvVst] [-r \fIresults\fP] [-i \fIfilelist\fP] \fIold\fP \fInew\fP
  27      -.LP
  28   27  .SH DESCRIPTION
  29      -.IX "OS-Net build tools" "wsdiff" "" "\fBwsdiff\fP"
  30   28  .LP
  31   29  The wsdiff utility detects and reports on object differences found between
  32   30  two proto areas constructed from the same workspace. This can be useful
  33   31  when trying to understand which objects have changed as a result of a particular
  34   32  source change.
  35   33  .LP
  36   34  \fIold\fP specifies the baseline proto area constructed without the source
  37   35  change. \fInew\fP specifies the proto area constructed with the source
  38   36  change. Both \fIold\fP and \fInew\fP should be constructed from the same
  39   37  workspace, otherwise wsdiff will find object differences not associated
↓ open down ↓ 24 lines elided ↑ open up ↑
  64   62  .B -t
  65   63  Look for the onbld tools in $SRC/tools rather than /opt/onbld/bin
  66   64  .TP 10
  67   65  .B -r
  68   66  Log results to the specified log file. The log file contains a list of new, deleted,
  69   67  and changed objects, as well as diffs signifying what wsdiff found to be different.
  70   68  .TP 10
  71   69  .B -i
  72   70  Specify which objects should be compared by wsdiff via an input file list (See
  73   71  EXAMPLES).
  74      -.LP
  75   72  .SH OUTPUT
  76   73  .LP
  77   74  The list of objects appearing to differ between \fIold\fP and \fInew\fP is
  78   75  printed to stdout. If -r was specified, the list of differing objects and
  79   76  their differrences are logged to \fIresults\fP.
  80      -.LP
  81   77  .SH EXAMPLES
  82   78  .PP
  83   79  \fBExample 1: Using wsdiff to determine patch deliverables\fR
  84   80  .PP
  85   81  The following example shows how to use wsdiff to determine the set of objects
  86   82  requiring (re)delivery via patch as a result of a given source change:
  87   83  .LP
  88   84  Starting with a built workspace, move the existing proto area aside:
  89   85  .LP
  90   86  .nf
↓ open down ↓ 51 lines elided ↑ open up ↑
 142  138  <     lgrp_cpu_init+0x168:    d8 04 e0 00  ld        [%l3], %o4
 143  139  <     lgrp_cpu_init+0x16c:    80 a3 20 00  cmp       %o4, 0x0
 144  140  ---
 145  141  >     lgrp_cpu_init+0x158:    9a 10 20 01  mov       0x1, %o5
 146  142  >     lgrp_cpu_init+0x15c:    b3 2b 50 1c  sllx      %o5, %i4, %i1
 147  143  >     lgrp_cpu_init+0x160:    98 12 00 19  or        %o0, %i1, %o4
 148  144  >     lgrp_cpu_init+0x164:    d8 76 a0 30  stx       %o4, [%i2 + 0x30]
 149  145  >     lgrp_cpu_init+0x168:    d6 04 e0 00  ld        [%l3], %o3
 150  146  >     lgrp_cpu_init+0x16c:    80 a2 e0 00  cmp       %o3, 0x0
 151  147  
 152      -...
 153  148  
 154  149  .fi
 155  150  .PP
 156  151  \fBExample 3: Using an input file list\fR
 157  152  .PP
 158  153  The -i option tells wsdiff to compare a specific list of objects. This can be useful
 159  154  in conjunction with other options that direct wsdiff to log more verbosely, allowing
 160  155  one to "drill down" into a particular object's differences:
 161  156  .LP
 162  157  .nf
↓ open down ↓ 21 lines elided ↑ open up ↑
 184  179  of files for comparison. Default number of threads is based on the number of
 185  180  on-line CPUs present in the system. To set the number of threads for processing
 186  181  to some other value the DMAKE_MAX_JOBS environment variable can be used:
 187  182  .LP
 188  183  .nf
 189  184  $ DMAKE_MAX_JOBS=24 wsdiff proto_base proto_patch
 190  185  .fi
 191  186  .PP
 192  187  Note that this variable is also used for nightly(1ONBLD) so when run from
 193  188  nightly(1ONBLD), wsdiff will honor the setting.
 194      -.LP
 195  189  .SH SEE ALSO
 196  190  .LP
 197  191  .IR nightly(1ONBLD),
 198  192  .IR elfdump(1),
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX