satyr 0.43
Loading...
Searching...
No Matches
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
31
32#ifdef __cplusplus
33extern "C" {
34#endif
35
36struct sr_gdb_frame;
37struct sr_gdb_thread;
39struct sr_core_thread;
40
41void
42sr_normalize_gdb_thread(struct sr_gdb_thread *thread);
43
44void
45sr_normalize_gdb_stacktrace(struct sr_gdb_stacktrace *stacktrace);
46
47void
48sr_normalize_core_thread(struct sr_core_thread *thread);
49
50// TODO: move to gdb_stacktrace.h
59struct sr_gdb_frame *
61
62// TODO: move to metrics.h
68void
70 struct sr_gdb_thread *thread2);
71
72// TODO: merge into normalization or something else
76void
78
79#ifdef __cplusplus
80}
81#endif
82
83#endif
void sr_normalize_gdb_paired_unknown_function_names(struct sr_gdb_thread *thread1, struct sr_gdb_thread *thread2)
struct sr_gdb_frame * sr_glibc_thread_find_exit_frame(struct sr_gdb_thread *thread)
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:48
A stack trace produced by GDB.
A thread of execution of a GDB-produced stack trace.
Definition gdb/thread.h:47