From 7ae7e83314e449f5d7f69be41f1498bf33340d1b Mon Sep 17 00:00:00 2001 From: Karel Klic Date: Fri, 4 Feb 2011 15:11:04 +0100 Subject: btparser: Better normalization of glibc architecture-specific functions. btparser: New supported format of thread header: "Thread 8 (LWP 6357):" --- src/btparser/thread.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/btparser/thread.h') diff --git a/src/btparser/thread.h b/src/btparser/thread.h index f7287385..47a0211b 100644 --- a/src/btparser/thread.h +++ b/src/btparser/thread.h @@ -197,6 +197,17 @@ struct btp_thread * btp_thread_parse(char **input, struct btp_location *location); +/** + * If the input contains a LWP section in form of "(LWP [0-9]+), move + * the input pointer after this section. Otherwise do not modify + * input. + * @returns + * The number of characters parsed from input. 0 if the input does not + * contain a LWP section. + */ +int +btp_thread_skip_lwp(char **input); + #ifdef __cplusplus } #endif -- cgit