satyr  0.28
normalize.h
Go to the documentation of this file.
1 /*
2  normalize.h
3 
4  Copyright (C) 2010 Red Hat, Inc.
5 
6  This program is free software; you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation; either version 2 of the License, or
9  (at your option) any later version.
10 
11  This program is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License along
17  with this program; if not, write to the Free Software Foundation, Inc.,
18  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 */
20 #ifndef SATYR_NORMALIZE_H
21 #define SATYR_NORMALIZE_H
22 
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
35 
36 struct sr_gdb_frame;
37 struct sr_gdb_thread;
38 struct sr_gdb_stacktrace;
39 struct sr_core_thread;
40 
41 void
42 sr_normalize_gdb_thread(struct sr_gdb_thread *thread);
43 
44 void
45 sr_normalize_gdb_stacktrace(struct sr_gdb_stacktrace *stacktrace);
46 
47 void
48 sr_normalize_core_thread(struct sr_core_thread *thread);
49 
50 // TODO: move to gdb_stacktrace.h
59 struct sr_gdb_frame *
61 
62 // TODO: move to metrics.h
68 void
70  struct sr_gdb_thread *thread2);
71 
72 // TODO: merge into normalization or something else
76 void
78 
79 #ifdef __cplusplus
80 }
81 #endif
82 
83 #endif
struct sr_gdb_frame * sr_glibc_thread_find_exit_frame(struct sr_gdb_thread *thread)
A thread of execution of a GDB-produced stack trace.
Definition: gdb/thread.h:46
void sr_gdb_normalize_optimize_thread(struct sr_gdb_thread *thread)
A thread of execution on call stack of a core dump.
Definition: core/thread.h:44
A function call of a GDB-produced stack trace.
Definition: gdb/frame.h:47
A stack trace produced by GDB.
void sr_normalize_gdb_paired_unknown_function_names(struct sr_gdb_thread *thread1, struct sr_gdb_thread *thread2)