Commit | Line | Data |
---|---|---|
55cd033d | 1 | /* |
0235b0db | 2 | * SPDX-License-Identifier: MIT |
55cd033d JG |
3 | * |
4 | * Copyright 2016 Jérémie Galarneau <jeremie.galarneau@efficios.com> | |
5 | * | |
0235b0db | 6 | * Babeltrace - Debug Info Utilities |
55cd033d JG |
7 | */ |
8 | ||
ae2be88d SM |
9 | #ifndef BABELTRACE_PLUGINS_LTTNG_UTILS_DEBUG_INFO_UTILS_H |
10 | #define BABELTRACE_PLUGINS_LTTNG_UTILS_DEBUG_INFO_UTILS_H | |
0235b0db | 11 | |
5b5c3486 FD |
12 | #include <stdbool.h> |
13 | ||
b4d8674c FD |
14 | #include <babeltrace2/babeltrace.h> |
15 | ||
91d81473 | 16 | #include "common/macros.h" |
55cd033d JG |
17 | |
18 | /* | |
19 | * Return the location of a path's file (the last element of the path). | |
20 | * Returns the original path on error. | |
21 | */ | |
55cd033d JG |
22 | const char *get_filename_from_path(const char *path); |
23 | ||
5b5c3486 | 24 | bool is_event_common_ctx_dbg_info_compatible( |
ca9f27f3 FD |
25 | const bt_field_class *in_field_class, |
26 | const char *debug_info_field_class_name); | |
27 | ||
ae2be88d | 28 | #endif /* BABELTRACE_PLUGINS_LTTNG_UTILS_DEBUG_INFO_UTILS_H */ |