diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2014-07-30 11:26:35 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-02 10:00:25 +0100 |
commit | 231fde5b1675f768ba616af5b90e9ef6016610ec (patch) | |
tree | d14a5fe9947d8d649e4d74ddf9c0d931cf4b079b /documentation/dev-manual | |
parent | 7ef076cd9eac5aa1eabc8162d2f99fa2ab07428b (diff) | |
download | poky-231fde5b1675f768ba616af5b90e9ef6016610ec.tar.gz |
dev-manual: Replaced "--" with ‐‐ throughout.
(From yocto-docs rev: 79fb4973909ff3a2ba5da8cad8c3d7bdb4206003)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/dev-manual')
-rw-r--r-- | documentation/dev-manual/dev-manual-common-tasks.xml | 102 |
1 files changed, 51 insertions, 51 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 5a3901d9c5..01ee2da8d0 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml | |||
@@ -738,13 +738,13 @@ | |||
738 | ... | 738 | ... |
739 | DESCRIPTION = "A useful utility" | 739 | DESCRIPTION = "A useful utility" |
740 | ... | 740 | ... |
741 | EXTRA_OECONF = "--enable-something" | 741 | EXTRA_OECONF = "‐‐enable-something" |
742 | ... | 742 | ... |
743 | 743 | ||
744 | #### bbappended from meta-anotherlayer #### | 744 | #### bbappended from meta-anotherlayer #### |
745 | 745 | ||
746 | DESCRIPTION = "Customized utility" | 746 | DESCRIPTION = "Customized utility" |
747 | EXTRA_OECONF += "--enable-somethingelse" | 747 | EXTRA_OECONF += "‐‐enable-somethingelse" |
748 | </literallayout> | 748 | </literallayout> |
749 | Ideally, you would tidy up these utilities as | 749 | Ideally, you would tidy up these utilities as |
750 | follows: | 750 | follows: |
@@ -752,7 +752,7 @@ | |||
752 | ... | 752 | ... |
753 | DESCRIPTION = "Customized utility" | 753 | DESCRIPTION = "Customized utility" |
754 | ... | 754 | ... |
755 | EXTRA_OECONF = "--enable-something --enable-somethingelse" | 755 | EXTRA_OECONF = "‐‐enable-something ‐‐enable-somethingelse" |
756 | ... | 756 | ... |
757 | </literallayout></para></listitem> | 757 | </literallayout></para></listitem> |
758 | </itemizedlist></para></listitem> | 758 | </itemizedlist></para></listitem> |
@@ -2110,7 +2110,7 @@ | |||
2110 | configure script with the appropriate options.</para> | 2110 | configure script with the appropriate options.</para> |
2111 | <para>For the case involving a custom configure | 2111 | <para>For the case involving a custom configure |
2112 | script, you would run | 2112 | script, you would run |
2113 | <filename>./configure --help</filename> and look for | 2113 | <filename>./configure ‐‐help</filename> and look for |
2114 | the options you need to set.</para></listitem> | 2114 | the options you need to set.</para></listitem> |
2115 | </itemizedlist> | 2115 | </itemizedlist> |
2116 | </para> | 2116 | </para> |
@@ -2133,7 +2133,7 @@ | |||
2133 | configure script as needed. | 2133 | configure script as needed. |
2134 | For reference information on configure options specific to the | 2134 | For reference information on configure options specific to the |
2135 | software you are building, you can consult the output of the | 2135 | software you are building, you can consult the output of the |
2136 | <filename>./configure --help</filename> command within | 2136 | <filename>./configure ‐‐help</filename> command within |
2137 | <filename>${S}</filename> or consult the software's upstream | 2137 | <filename>${S}</filename> or consult the software's upstream |
2138 | documentation. | 2138 | documentation. |
2139 | </para> | 2139 | </para> |
@@ -3588,7 +3588,7 @@ | |||
3588 | or by entering the command with a help argument as follows: | 3588 | or by entering the command with a help argument as follows: |
3589 | <literallayout class='monospaced'> | 3589 | <literallayout class='monospaced'> |
3590 | $ wic -h | 3590 | $ wic -h |
3591 | $ wic --help | 3591 | $ wic ‐‐help |
3592 | </literallayout> | 3592 | </literallayout> |
3593 | </para> | 3593 | </para> |
3594 | 3594 | ||
@@ -3674,38 +3674,38 @@ | |||
3674 | your own custom file or use a file from a set of | 3674 | your own custom file or use a file from a set of |
3675 | existing files as described by further options. | 3675 | existing files as described by further options. |
3676 | 3676 | ||
3677 | -o <replaceable>OUTDIR</replaceable>, --outdir=<replaceable>OUTDIR</replaceable> | 3677 | -o <replaceable>OUTDIR</replaceable>, ‐‐outdir=<replaceable>OUTDIR</replaceable> |
3678 | The name of a directory in which to create image. | 3678 | The name of a directory in which to create image. |
3679 | 3679 | ||
3680 | -i <replaceable>PROPERTIES_FILE</replaceable>, --infile=<replaceable>PROPERTIES_FILE</replaceable> | 3680 | -i <replaceable>PROPERTIES_FILE</replaceable>, ‐‐infile=<replaceable>PROPERTIES_FILE</replaceable> |
3681 | The name of a file containing the values for image | 3681 | The name of a file containing the values for image |
3682 | properties as a JSON file. | 3682 | properties as a JSON file. |
3683 | 3683 | ||
3684 | -e <replaceable>IMAGE_NAME</replaceable>, --image-name=<replaceable>IMAGE_NAME</replaceable> | 3684 | -e <replaceable>IMAGE_NAME</replaceable>, ‐‐image-name=<replaceable>IMAGE_NAME</replaceable> |
3685 | The name of the image from which to use the artifacts | 3685 | The name of the image from which to use the artifacts |
3686 | (e.g. <filename>core-image-sato</filename>). | 3686 | (e.g. <filename>core-image-sato</filename>). |
3687 | 3687 | ||
3688 | -r <replaceable>ROOTFS_DIR</replaceable>, --rootfs-dir=<replaceable>ROOTFS_DIR</replaceable> | 3688 | -r <replaceable>ROOTFS_DIR</replaceable>, ‐‐rootfs-dir=<replaceable>ROOTFS_DIR</replaceable> |
3689 | The path to the <filename>/rootfs</filename> directory to use as the | 3689 | The path to the <filename>/rootfs</filename> directory to use as the |
3690 | <filename>.wks</filename> rootfs source. | 3690 | <filename>.wks</filename> rootfs source. |
3691 | 3691 | ||
3692 | -b <replaceable>BOOTIMG_DIR</replaceable>, --bootimg-dir=<replaceable>BOOTIMG_DIR</replaceable> | 3692 | -b <replaceable>BOOTIMG_DIR</replaceable>, ‐‐bootimg-dir=<replaceable>BOOTIMG_DIR</replaceable> |
3693 | The path to the directory containing the boot artifacts | 3693 | The path to the directory containing the boot artifacts |
3694 | (e.g. <filename>/EFI</filename> or <filename>/syslinux</filename>) to use as the <filename>.wks</filename> bootimg | 3694 | (e.g. <filename>/EFI</filename> or <filename>/syslinux</filename>) to use as the <filename>.wks</filename> bootimg |
3695 | source. | 3695 | source. |
3696 | 3696 | ||
3697 | -k <replaceable>KERNEL_DIR</replaceable>, --kernel-dir=<replaceable>KERNEL_DIR</replaceable> | 3697 | -k <replaceable>KERNEL_DIR</replaceable>, ‐‐kernel-dir=<replaceable>KERNEL_DIR</replaceable> |
3698 | The path to the directory containing the kernel to use | 3698 | The path to the directory containing the kernel to use |
3699 | in the <filename>.wks</filename> boot image. | 3699 | in the <filename>.wks</filename> boot image. |
3700 | 3700 | ||
3701 | -n <replaceable>NATIVE_SYSROOT</replaceable>, --native-sysroot=<replaceable>NATIVE_SYSROOT</replaceable> | 3701 | -n <replaceable>NATIVE_SYSROOT</replaceable>, ‐‐native-sysroot=<replaceable>NATIVE_SYSROOT</replaceable> |
3702 | The path to the native sysroot containing the tools to use | 3702 | The path to the native sysroot containing the tools to use |
3703 | to build the image. | 3703 | to build the image. |
3704 | 3704 | ||
3705 | -p, --skip-build-check | 3705 | -p, ‐‐skip-build-check |
3706 | Skips the build check. | 3706 | Skips the build check. |
3707 | 3707 | ||
3708 | -D, --debug | 3708 | -D, ‐‐debug |
3709 | Output debug information. | 3709 | Output debug information. |
3710 | </literallayout> | 3710 | </literallayout> |
3711 | <note> | 3711 | <note> |
@@ -3915,13 +3915,13 @@ | |||
3915 | </literallayout> | 3915 | </literallayout> |
3916 | Next, the example modifies the | 3916 | Next, the example modifies the |
3917 | <filename>directdisksdb.wks</filename> file and changes all | 3917 | <filename>directdisksdb.wks</filename> file and changes all |
3918 | instances of "<filename>--ondisk sda</filename>" | 3918 | instances of "<filename>‐‐ondisk sda</filename>" |
3919 | to "<filename>--ondisk sdb</filename>". | 3919 | to "<filename>‐‐ondisk sdb</filename>". |
3920 | The example changes the following two lines and leaves the | 3920 | The example changes the following two lines and leaves the |
3921 | remaining lines untouched: | 3921 | remaining lines untouched: |
3922 | <literallayout class='monospaced'> | 3922 | <literallayout class='monospaced'> |
3923 | part /boot --source bootimg-pcbios --ondisk sdb --label boot --active --align 1024 | 3923 | part /boot ‐‐source bootimg-pcbios ‐‐ondisk sdb ‐‐label boot ‐‐active ‐‐align 1024 |
3924 | part / --source rootfs --ondisk sdb --fstype=ext3 --label platform --align 1024 | 3924 | part / ‐‐source rootfs ‐‐ondisk sdb ‐‐fstype=ext3 ‐‐label platform ‐‐align 1024 |
3925 | </literallayout> | 3925 | </literallayout> |
3926 | Once the lines are changed, the example generates the | 3926 | Once the lines are changed, the example generates the |
3927 | <filename>directdisksdb</filename> image. | 3927 | <filename>directdisksdb</filename> image. |
@@ -4008,11 +4008,11 @@ | |||
4008 | somewhere other than the default | 4008 | somewhere other than the default |
4009 | <filename>/var/tmp/wic</filename> directory: | 4009 | <filename>/var/tmp/wic</filename> directory: |
4010 | <literallayout class='monospaced'> | 4010 | <literallayout class='monospaced'> |
4011 | $ wic create ~/test.wks -o /home/trz/testwic --rootfs-dir \ | 4011 | $ wic create ~/test.wks -o /home/trz/testwic ‐‐rootfs-dir \ |
4012 | /home/trz/yocto/yocto-image/build/tmp/work/crownbay_noemgd-poky-linux/core-image-minimal/1.0-r0/rootfs \ | 4012 | /home/trz/yocto/yocto-image/build/tmp/work/crownbay_noemgd-poky-linux/core-image-minimal/1.0-r0/rootfs \ |
4013 | --bootimg-dir /home/trz/yocto/yocto-image/build/tmp/sysroots/crownbay-noemgd/usr/share \ | 4013 | ‐‐bootimg-dir /home/trz/yocto/yocto-image/build/tmp/sysroots/crownbay-noemgd/usr/share \ |
4014 | --kernel-dir /home/trz/yocto/yocto-image/build/tmp/sysroots/crownbay-noemgd/usr/src/kernel \ | 4014 | ‐‐kernel-dir /home/trz/yocto/yocto-image/build/tmp/sysroots/crownbay-noemgd/usr/src/kernel \ |
4015 | --native-sysroot /home/trz/yocto/yocto-image/build/tmp/sysroots/x86_64-linux | 4015 | ‐‐native-sysroot /home/trz/yocto/yocto-image/build/tmp/sysroots/x86_64-linux |
4016 | 4016 | ||
4017 | Creating image(s)... | 4017 | Creating image(s)... |
4018 | 4018 | ||
@@ -4088,7 +4088,7 @@ | |||
4088 | that partition. | 4088 | that partition. |
4089 | For example, if the partition is set up as follows: | 4089 | For example, if the partition is set up as follows: |
4090 | <literallayout class='monospaced'> | 4090 | <literallayout class='monospaced'> |
4091 | part /boot --source bootimg-pcbios ... | 4091 | part /boot ‐‐source bootimg-pcbios ... |
4092 | </literallayout> | 4092 | </literallayout> |
4093 | The methods defined as class members of the plugin | 4093 | The methods defined as class members of the plugin |
4094 | having the matching <filename>bootimg-pcbios.name</filename> | 4094 | having the matching <filename>bootimg-pcbios.name</filename> |
@@ -4245,13 +4245,13 @@ | |||
4245 | <para> | 4245 | <para> |
4246 | Following are the supported options: | 4246 | Following are the supported options: |
4247 | <itemizedlist> | 4247 | <itemizedlist> |
4248 | <listitem><para><emphasis><filename>--size</filename>:</emphasis> | 4248 | <listitem><para><emphasis><filename>‐‐size</filename>:</emphasis> |
4249 | The minimum partition size in MBytes. | 4249 | The minimum partition size in MBytes. |
4250 | Specify an integer value such as 500. | 4250 | Specify an integer value such as 500. |
4251 | Do not append the number with "MB". | 4251 | Do not append the number with "MB". |
4252 | You do not need this option if you use | 4252 | You do not need this option if you use |
4253 | <filename>--source</filename>.</para></listitem> | 4253 | <filename>‐‐source</filename>.</para></listitem> |
4254 | <listitem><para><emphasis><filename>--source</filename>:</emphasis> | 4254 | <listitem><para><emphasis><filename>‐‐source</filename>:</emphasis> |
4255 | This option is a | 4255 | This option is a |
4256 | <filename>wic</filename>-specific option that | 4256 | <filename>wic</filename>-specific option that |
4257 | names the source of the data that populates | 4257 | names the source of the data that populates |
@@ -4293,10 +4293,10 @@ | |||
4293 | filesystem type end up being are dependent | 4293 | filesystem type end up being are dependent |
4294 | on the given plugin implementation. | 4294 | on the given plugin implementation. |
4295 | </para></listitem> | 4295 | </para></listitem> |
4296 | <listitem><para><emphasis><filename>--ondisk</filename> or <filename>--ondrive</filename>:</emphasis> | 4296 | <listitem><para><emphasis><filename>‐‐ondisk</filename> or <filename>‐‐ondrive</filename>:</emphasis> |
4297 | Forces the partition to be created on a particular | 4297 | Forces the partition to be created on a particular |
4298 | disk.</para></listitem> | 4298 | disk.</para></listitem> |
4299 | <listitem><para><emphasis><filename>--fstype</filename>:</emphasis> | 4299 | <listitem><para><emphasis><filename>‐‐fstype</filename>:</emphasis> |
4300 | Sets the file system type for the partition. | 4300 | Sets the file system type for the partition. |
4301 | Valid values are: | 4301 | Valid values are: |
4302 | <itemizedlist> | 4302 | <itemizedlist> |
@@ -4323,15 +4323,15 @@ | |||
4323 | If not specified, the default string | 4323 | If not specified, the default string |
4324 | is "defaults". | 4324 | is "defaults". |
4325 | </para></listitem> | 4325 | </para></listitem> |
4326 | <listitem><para><emphasis><filename>--label label</filename>:</emphasis> | 4326 | <listitem><para><emphasis><filename>‐‐label label</filename>:</emphasis> |
4327 | Specifies the label to give to the filesystem to | 4327 | Specifies the label to give to the filesystem to |
4328 | be made on the partition. | 4328 | be made on the partition. |
4329 | If the given label is already in use by another | 4329 | If the given label is already in use by another |
4330 | filesystem, a new label is created for the | 4330 | filesystem, a new label is created for the |
4331 | partition.</para></listitem> | 4331 | partition.</para></listitem> |
4332 | <listitem><para><emphasis><filename>--active</filename>:</emphasis> | 4332 | <listitem><para><emphasis><filename>‐‐active</filename>:</emphasis> |
4333 | Marks the partition as active.</para></listitem> | 4333 | Marks the partition as active.</para></listitem> |
4334 | <listitem><para><emphasis><filename>--align (in KBytes)</filename>:</emphasis> | 4334 | <listitem><para><emphasis><filename>‐‐align (in KBytes)</filename>:</emphasis> |
4335 | This option is a <filename>wic</filename>-specific | 4335 | This option is a <filename>wic</filename>-specific |
4336 | option that says to start a partition on an | 4336 | option that says to start a partition on an |
4337 | x KBytes boundary.</para></listitem> | 4337 | x KBytes boundary.</para></listitem> |
@@ -4361,11 +4361,11 @@ | |||
4361 | supported, results can be unpredictable.</para> | 4361 | supported, results can be unpredictable.</para> |
4362 | </note> | 4362 | </note> |
4363 | <itemizedlist> | 4363 | <itemizedlist> |
4364 | <listitem><para><emphasis><filename>--timeout</filename>:</emphasis> | 4364 | <listitem><para><emphasis><filename>‐‐timeout</filename>:</emphasis> |
4365 | Specifies the number of seconds before the | 4365 | Specifies the number of seconds before the |
4366 | bootloader times out and boots the default option. | 4366 | bootloader times out and boots the default option. |
4367 | </para></listitem> | 4367 | </para></listitem> |
4368 | <listitem><para><emphasis><filename>--append</filename>:</emphasis> | 4368 | <listitem><para><emphasis><filename>‐‐append</filename>:</emphasis> |
4369 | Specifies kernel parameters. | 4369 | Specifies kernel parameters. |
4370 | These parameters will be added to the syslinux | 4370 | These parameters will be added to the syslinux |
4371 | <filename>APPEND</filename> or | 4371 | <filename>APPEND</filename> or |
@@ -6803,9 +6803,9 @@ Gateways via their Web Interfaces</ulink>"</emphasis> | |||
6803 | Given this example, issue the following commands on the | 6803 | Given this example, issue the following commands on the |
6804 | target: | 6804 | target: |
6805 | <literallayout class='monospaced'> | 6805 | <literallayout class='monospaced'> |
6806 | # smart channel --add all type=rpm-md baseurl=http://server.name/rpm/all | 6806 | # smart channel ‐‐add all type=rpm-md baseurl=http://server.name/rpm/all |
6807 | # smart channel --add i585 type=rpm-md baseurl=http://server.name/rpm/i586 | 6807 | # smart channel ‐‐add i585 type=rpm-md baseurl=http://server.name/rpm/i586 |
6808 | # smart channel --add qemux86 type=rpm-md baseurl=http://server.name/rpm/qemux86 | 6808 | # smart channel ‐‐add qemux86 type=rpm-md baseurl=http://server.name/rpm/qemux86 |
6809 | </literallayout> | 6809 | </literallayout> |
6810 | Also from the target machine, fetch the repository | 6810 | Also from the target machine, fetch the repository |
6811 | information using this command: | 6811 | information using this command: |
@@ -8008,9 +8008,9 @@ Gateways via their Web Interfaces</ulink>"</emphasis> | |||
8008 | are enabled). | 8008 | are enabled). |
8009 | Consequently, running the tests on other machine | 8009 | Consequently, running the tests on other machine |
8010 | means that you have to move the contents and call | 8010 | means that you have to move the contents and call |
8011 | <filename>runexported</filename> with "--deploy-dir PATH: | 8011 | <filename>runexported</filename> with "‐‐deploy-dir PATH: |
8012 | ./runexported.py --deploy-dir /new/path/on/this/machine testdata.json | 8012 | ./runexported.py ‐‐deploy-dir /new/path/on/this/machine testdata.json |
8013 | runexported.py accepts other arguments as well, see --help. | 8013 | runexported.py accepts other arguments as well, see ‐‐help. |
8014 | </para> | 8014 | </para> |
8015 | 8015 | ||
8016 | <para> | 8016 | <para> |
@@ -8476,7 +8476,7 @@ Gateways via their Web Interfaces</ulink>"</emphasis> | |||
8476 | | DEBUG: SITE files ['endian-little', 'bit-32', 'ix86-common', 'common-linux', 'common-glibc', 'i586-linux', 'common'] | 8476 | | DEBUG: SITE files ['endian-little', 'bit-32', 'ix86-common', 'common-linux', 'common-glibc', 'i586-linux', 'common'] |
8477 | | DEBUG: Executing shell function do_compile | 8477 | | DEBUG: Executing shell function do_compile |
8478 | | NOTE: make -j 16 | 8478 | | NOTE: make -j 16 |
8479 | | make --no-print-directory all-am | 8479 | | make ‐‐no-print-directory all-am |
8480 | | /bin/mkdir -p include/near | 8480 | | /bin/mkdir -p include/near |
8481 | | /bin/mkdir -p include/near | 8481 | | /bin/mkdir -p include/near |
8482 | | /bin/mkdir -p include/near | 8482 | | /bin/mkdir -p include/near |
@@ -8517,7 +8517,7 @@ Gateways via their Web Interfaces</ulink>"</emphasis> | |||
8517 | | ln -s /home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/work/i586-poky-linux/neard/ | 8517 | | ln -s /home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/work/i586-poky-linux/neard/ |
8518 | 0.14-r0/neard-0.14/include/dbus.h include/near/dbus.h | 8518 | 0.14-r0/neard-0.14/include/dbus.h include/near/dbus.h |
8519 | | ./src/genbuiltin nfctype1 nfctype2 nfctype3 nfctype4 p2p > src/builtin.h | 8519 | | ./src/genbuiltin nfctype1 nfctype2 nfctype3 nfctype4 p2p > src/builtin.h |
8520 | | i586-poky-linux-gcc -m32 -march=i586 --sysroot=/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86/ | 8520 | | i586-poky-linux-gcc -m32 -march=i586 ‐‐sysroot=/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86/ |
8521 | build/build/tmp/sysroots/qemux86 -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/home/pokybuild/ | 8521 | build/build/tmp/sysroots/qemux86 -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/home/pokybuild/ |
8522 | yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0 | 8522 | yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0 |
8523 | -I/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/sysroots/qemux86/usr/ | 8523 | -I/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/sysroots/qemux86/usr/ |
@@ -8592,7 +8592,7 @@ Gateways via their Web Interfaces</ulink>"</emphasis> | |||
8592 | Here is some abbreviated, sample output with the | 8592 | Here is some abbreviated, sample output with the |
8593 | missing dependency clearly visible at the end: | 8593 | missing dependency clearly visible at the end: |
8594 | <literallayout class='monospaced'> | 8594 | <literallayout class='monospaced'> |
8595 | i586-poky-linux-gcc -m32 -march=i586 --sysroot=/home/scott-lenovo/...... | 8595 | i586-poky-linux-gcc -m32 -march=i586 ‐‐sysroot=/home/scott-lenovo/...... |
8596 | . | 8596 | . |
8597 | . | 8597 | . |
8598 | . | 8598 | . |
@@ -8985,14 +8985,14 @@ Gateways via their Web Interfaces</ulink>"</emphasis> | |||
8985 | 8985 | ||
8986 | <para> | 8986 | <para> |
8987 | <literallayout class='monospaced'> | 8987 | <literallayout class='monospaced'> |
8988 | # opcontrol --reset | 8988 | # opcontrol ‐‐reset |
8989 | # opcontrol --start --separate=lib --no-vmlinux -c 5 | 8989 | # opcontrol ‐‐start ‐‐separate=lib ‐‐no-vmlinux -c 5 |
8990 | . | 8990 | . |
8991 | . | 8991 | . |
8992 | [do whatever is being profiled] | 8992 | [do whatever is being profiled] |
8993 | . | 8993 | . |
8994 | . | 8994 | . |
8995 | # opcontrol --stop | 8995 | # opcontrol ‐‐stop |
8996 | $ opreport -cl | 8996 | $ opreport -cl |
8997 | </literallayout> | 8997 | </literallayout> |
8998 | </para> | 8998 | </para> |
@@ -9005,7 +9005,7 @@ Gateways via their Web Interfaces</ulink>"</emphasis> | |||
9005 | five levels deep. | 9005 | five levels deep. |
9006 | <note> | 9006 | <note> |
9007 | To profile the kernel, you would specify the | 9007 | To profile the kernel, you would specify the |
9008 | <filename>--vmlinux=/path/to/vmlinux</filename> option. | 9008 | <filename>‐‐vmlinux=/path/to/vmlinux</filename> option. |
9009 | The <filename>vmlinux</filename> file is usually in the source directory in the | 9009 | The <filename>vmlinux</filename> file is usually in the source directory in the |
9010 | <filename>/boot/</filename> directory and must match the running kernel. | 9010 | <filename>/boot/</filename> directory and must match the running kernel. |
9011 | </note> | 9011 | </note> |
@@ -9068,7 +9068,7 @@ Gateways via their Web Interfaces</ulink>"</emphasis> | |||
9068 | With this connection, you just need to run "oprofile-server" on the device. | 9068 | With this connection, you just need to run "oprofile-server" on the device. |
9069 | By default, OProfile listens on port 4224. | 9069 | By default, OProfile listens on port 4224. |
9070 | <note> | 9070 | <note> |
9071 | You can change the port using the <filename>--port</filename> command-line | 9071 | You can change the port using the <filename>‐‐port</filename> command-line |
9072 | option. | 9072 | option. |
9073 | </note> | 9073 | </note> |
9074 | </para> | 9074 | </para> |
@@ -9158,14 +9158,14 @@ Gateways via their Web Interfaces</ulink>"</emphasis> | |||
9158 | If network access to the target is unavailable, you can generate | 9158 | If network access to the target is unavailable, you can generate |
9159 | an archive for processing in <filename>oprofile-viewer</filename> as follows: | 9159 | an archive for processing in <filename>oprofile-viewer</filename> as follows: |
9160 | <literallayout class='monospaced'> | 9160 | <literallayout class='monospaced'> |
9161 | # opcontrol --reset | 9161 | # opcontrol ‐‐reset |
9162 | # opcontrol --start --separate=lib --no-vmlinux -c 5 | 9162 | # opcontrol ‐‐start ‐‐separate=lib ‐‐no-vmlinux -c 5 |
9163 | . | 9163 | . |
9164 | . | 9164 | . |
9165 | [do whatever is being profiled] | 9165 | [do whatever is being profiled] |
9166 | . | 9166 | . |
9167 | . | 9167 | . |
9168 | # opcontrol --stop | 9168 | # opcontrol ‐‐stop |
9169 | # oparchive -o my_archive | 9169 | # oparchive -o my_archive |
9170 | </literallayout> | 9170 | </literallayout> |
9171 | </para> | 9171 | </para> |