diff options
author | Michael Wood <michael.g.wood@intel.com> | 2015-04-20 10:21:40 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-24 11:07:33 +0100 |
commit | d4dc2f8c964230d330e518cce49603d5434d16a2 (patch) | |
tree | 923a5ce60f627d422c8649599e288dc6dad525cd | |
parent | b8d0927941d74d520f0a3a0f5739be79baf3a1ec (diff) | |
download | poky-d4dc2f8c964230d330e518cce49603d5434d16a2.tar.gz |
dev-manual: Updated the "Enabling and Using the Tool" section
The send-error-report tool syntax has slightly changed since the
documentation was written. Removed the [server] part of the
command and added more detail on its use and results.
Reported-by: Michael Wood <michael.g.wood@intel.com>
(From yocto-docs rev: 10e28ab877b327301be536e5d515d5a419d082ac)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | documentation/dev-manual/dev-manual-common-tasks.xml | 36 |
1 files changed, 22 insertions, 14 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 0ea494052e..147e0295ac 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml | |||
@@ -9877,28 +9877,36 @@ | |||
9877 | </literallayout> | 9877 | </literallayout> |
9878 | Enabling error reporting causes the build process to collect | 9878 | Enabling error reporting causes the build process to collect |
9879 | the errors and store them in a file as previously described. | 9879 | the errors and store them in a file as previously described. |
9880 | When the build system encounters an error, it includes a command | 9880 | When the build system encounters an error, it includes a |
9881 | as part of the console output. | 9881 | command as part of the console output. |
9882 | You can run the command to send the error file to the server. | 9882 | You can run the command to send the error file to the server. |
9883 | For example, the following command sends the errors to an upstream | 9883 | For example, the following command sends the errors to an |
9884 | server: | 9884 | upstream server: |
9885 | <literallayout class='monospaced'> | 9885 | <literallayout class='monospaced'> |
9886 | send-error-report /home/brandusa/project/poky/build/tmp/log/error-report/error_report_201403141617.txt [server] | 9886 | $ send-error-report /home/brandusa/project/poky/build/tmp/log/error-report/error_report_201403141617.txt |
9887 | </literallayout> | ||
9888 | In the previous example, the errors are sent to a public | ||
9889 | database available at | ||
9890 | <ulink url='http://errors.yoctoproject.org'></ulink>, which is | ||
9891 | used by the entire community. | ||
9892 | If you specify a particular server, you can send the errors | ||
9893 | to a different database. | ||
9894 | Use the following command for more information on available | ||
9895 | options: | ||
9896 | <literallayout class='monospaced'> | ||
9897 | $ send-error-report --help | ||
9887 | </literallayout> | 9898 | </literallayout> |
9888 | In the above example, the <filename>server</filename> parameter is | ||
9889 | optional. | ||
9890 | By default, the errors are sent to a database used by the entire | ||
9891 | community. | ||
9892 | If you specify a particular server, you can send them to a different | ||
9893 | database. | ||
9894 | </para> | 9899 | </para> |
9895 | 9900 | ||
9896 | <para> | 9901 | <para> |
9897 | When sending the error file, you receive a link that corresponds | 9902 | When sending the error file, you are prompted to review the |
9898 | to your entry in the database. | 9903 | data being sent as well as to provide a name and optional |
9904 | email address. | ||
9905 | Once you satisfy these prompts, the command returns a link | ||
9906 | from the server that corresponds to your entry in the database. | ||
9899 | For example, here is a typical link: | 9907 | For example, here is a typical link: |
9900 | <literallayout class='monospaced'> | 9908 | <literallayout class='monospaced'> |
9901 | http://localhost:8000/Errors/Search/1/158 | 9909 | http://errors.yoctoproject.org/Errors/Details/9522/ |
9902 | </literallayout> | 9910 | </literallayout> |
9903 | Following the link takes you to a web interface where you can | 9911 | Following the link takes you to a web interface where you can |
9904 | browse, query the errors, and view statistics. | 9912 | browse, query the errors, and view statistics. |