summaryrefslogtreecommitdiffstats
path: root/src/btparser/thread.h
diff options
context:
space:
mode:
authorKarel Klic <kklic@redhat.com>2011-02-04 15:11:04 +0100
committerKarel Klic <kklic@redhat.com>2011-02-04 15:11:04 +0100
commit7ae7e83314e449f5d7f69be41f1498bf33340d1b (patch)
tree683e46da30f96e8d598085df3387a64272c0b253 /src/btparser/thread.h
parent236f571db5ec6d0f05891373f518b6d87cedebbe (diff)
downloadabrt-7ae7e83314e449f5d7f69be41f1498bf33340d1b.tar.gz
abrt-7ae7e83314e449f5d7f69be41f1498bf33340d1b.tar.xz
abrt-7ae7e83314e449f5d7f69be41f1498bf33340d1b.zip
btparser: Better normalization of glibc architecture-specific functions.
btparser: New supported format of thread header: "Thread 8 (LWP 6357):"
Diffstat (limited to 'src/btparser/thread.h')
-rw-r--r--src/btparser/thread.h11
1 files changed, 11 insertions, 0 deletions
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