From 75d4748861ad98cf87ea198aceb695eba89f3c26 Mon Sep 17 00:00:00 2001 From: Arnaldo Carvalho de Melo Date: Thu, 1 Jul 2021 21:34:21 -0300 Subject: [PATCH] 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 --- pahole.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pahole.c b/pahole.c index 1debcf0..3333fcf 100644 --- a/pahole.c +++ b/pahole.c @@ -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;