pahole: Disable parallell BTF encoding for now

Introduce first parallell DWARF loading, test it, then move on to use it
together with BTF encoding.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Arnaldo Carvalho de Melo 2021-07-01 21:34:21 -03:00
parent 1c60f71daa
commit 75d4748861
1 changed files with 5 additions and 0 deletions

View File

@ -2828,6 +2828,11 @@ int main(int argc, char *argv[])
goto out;
}
if (btf_encode && conf_load.nr_jobs > 1) {
fputs("pahole: parallel BTF encoding isn't supported yet, drop -j/--jobs\n", stderr);
goto out;
}
if (prettify_input_filename) {
if (strcmp(prettify_input_filename, "-") == 0) {
prettify_input = stdin;