From 6838dc35ffa07db47c48613aafb67441f1b620fa Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 2 Jun 2022 11:33:24 +0200 Subject: Profiling: Increase debugging information --- libcrystfel/src/profile.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libcrystfel') diff --git a/libcrystfel/src/profile.c b/libcrystfel/src/profile.c index c94c746c..79228b34 100644 --- a/libcrystfel/src/profile.c +++ b/libcrystfel/src/profile.c @@ -206,7 +206,9 @@ void profile_start(const char *name) if ( pd == NULL ) return; if ( pd->current->n_children >= MAX_PROFILE_CHILDREN ) { - fprintf(stderr, "Too many profile children.\n"); + fprintf(stderr, "Too many profile children " + "(opening %s inside %s).\n", + pd->current->name, name); fflush(stderr); abort(); } -- cgit v1.2.3