| OLD | NEW |
| 1 // Copyright 2014 The Crashpad Authors. All rights reserved. | 1 // Copyright 2014 The Crashpad Authors. All rights reserved. |
| 2 // | 2 // |
| 3 // Licensed under the Apache License, Version 2.0 (the "License"); | 3 // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 // you may not use this file except in compliance with the License. | 4 // you may not use this file except in compliance with the License. |
| 5 // You may obtain a copy of the License at | 5 // You may obtain a copy of the License at |
| 6 // | 6 // |
| 7 // http://www.apache.org/licenses/LICENSE-2.0 | 7 // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 // | 8 // |
| 9 // Unless required by applicable law or agreed to in writing, software | 9 // Unless required by applicable law or agreed to in writing, software |
| 10 // distributed under the License is distributed on an "AS IS" BASIS, | 10 // distributed under the License is distributed on an "AS IS" BASIS, |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 operation may be restricted to use by the superuser or processes permitted by | 43 operation may be restricted to use by the superuser or processes permitted by |
| 44 taskgated(8). Consequently, this program must normally be invoked by root. It is | 44 taskgated(8). Consequently, this program must normally be invoked by root. It is |
| 45 possible to install this program as a setuid root executable to overcome this | 45 possible to install this program as a setuid root executable to overcome this |
| 46 limitation. | 46 limitation. |
| 47 | 47 |
| 48 This program is similar to the gcore(1) program available on some operating | 48 This program is similar to the gcore(1) program available on some operating |
| 49 systems. | 49 systems. |
| 50 | 50 |
| 51 == Options | 51 == Options |
| 52 | 52 |
| 53 *-r*, *--no_suspend*:: | 53 *-r*, *--no-suspend*:: |
| 54 The target process will continue running while the minidump file is generated. | 54 The target process will continue running while the minidump file is generated. |
| 55 Normally, the target process is suspended during this operation, which | 55 Normally, the target process is suspended during this operation, which |
| 56 guarantees that the minidump file will contain an atomic snapshot of the | 56 guarantees that the minidump file will contain an atomic snapshot of the |
| 57 process. | 57 process. |
| 58 + | 58 + |
| 59 This option may be useful when attempting to generate a minidump from a process | 59 This option may be useful when attempting to generate a minidump from a process |
| 60 that dump generation has an interprocess dependency on, such as a system server | 60 that dump generation has an interprocess dependency on, such as a system server |
| 61 like launchd(8) or opendirectoryd(8). Deadlock could occur if any portion of the | 61 like launchd(8) or opendirectoryd(8). Deadlock could occur if any portion of the |
| 62 dump generation operation blocks while waiting for a response from one of these | 62 dump generation operation blocks while waiting for a response from one of these |
| 63 servers while they are suspended. | 63 servers while they are suspended. |
| (...skipping 22 matching lines...) Expand all Loading... |
| 86 Success. | 86 Success. |
| 87 | 87 |
| 88 *1*:: | 88 *1*:: |
| 89 Failure, with a message printed to the standard error stream. | 89 Failure, with a message printed to the standard error stream. |
| 90 | 90 |
| 91 == See Also | 91 == See Also |
| 92 | 92 |
| 93 catch_exception_tool(1) | 93 catch_exception_tool(1) |
| 94 | 94 |
| 95 include::man_footer.ad[] | 95 include::man_footer.ad[] |
| OLD | NEW |