diff options
author | Thomas White <taw@physics.org> | 2022-06-02 11:33:24 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2022-06-02 11:35:45 +0200 |
commit | 6838dc35ffa07db47c48613aafb67441f1b620fa (patch) | |
tree | 06bc81a0b75b3c9d4202a5ebccfa8edefcd9aac5 | |
parent | d42764d6051ea147ff5e073ccc23324a2eb81d53 (diff) |
Profiling: Increase debugging information
-rw-r--r-- | libcrystfel/src/profile.c | 4 |
1 files changed, 3 insertions, 1 deletions
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(); } |