| 72 | |
| 73 | |
| 74 | static void usage() |
| 75 | { |
| 76 | print_version(); |
| 77 | printf("MySQL AB, by Sasha Pachev\n"); |
| 78 | printf("This software comes with ABSOLUTELY NO WARRANTY\n\n"); |
| 79 | printf("Resolve numeric stack strace dump into symbols.\n\n"); |
| 80 | printf("Usage: %s [OPTIONS] symbols-file [numeric-dump-file]\n", |
| 81 | my_progname); |
| 82 | my_print_help(my_long_options); |
| 83 | my_print_variables(my_long_options); |
| 84 | printf("\n\ |
| 85 | The symbols-file should include the output from: 'nm --numeric-sort mysqld'.\n\ |
| 86 | The numeric-dump-file should contain a numeric stack trace from mysqld.\n\ |
| 87 | If the numeric-dump-file is not given, the stack trace is read from stdin.\n"); |
| 88 | } |
| 89 | |
| 90 | |
| 91 | static void die(const char* fmt, ...) |
no test coverage detected