summaryrefslogtreecommitdiff
path: root/plugins/lnxsyscalls
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-01-22 18:36:15 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-01-22 18:36:15 (GMT)
commitf251814cf0fd10a767972530c119f8f109613c48 (patch)
treee9bd67bca2531c083ee0754fe6dabe043c8012d1 /plugins/lnxsyscalls
parentc1bcf3e7bd0a256005bd15832117b78cee5fdfab (diff)
Fixed run sizes of parallel jobs.
Diffstat (limited to 'plugins/lnxsyscalls')
-rw-r--r--plugins/lnxsyscalls/core.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/lnxsyscalls/core.c b/plugins/lnxsyscalls/core.c
index cd9fa0e..afc890b 100644
--- a/plugins/lnxsyscalls/core.c
+++ b/plugins/lnxsyscalls/core.c
@@ -128,9 +128,7 @@ G_MODULE_EXPORT void process_binary_disassembly(const GPluginModule *plugin, Plu
sym_count = g_binary_format_count_symbols(format);
- runs_count = get_max_online_threads();
-
- run_size = sym_count / runs_count;
+ run_size = compute_run_size(sym_count, &runs_count);
id = gtk_status_stack_add_activity(status, _("Looking for Linux syscalls..."), sym_count);