2 * SPDX-License-Identifier: MIT
4 * Copyright 2016 Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 * Babeltrace - Debug Info Utilities
9 #ifndef BABELTRACE_PLUGIN_DEBUG_INFO_UTILS_H
10 #define BABELTRACE_PLUGIN_DEBUG_INFO_UTILS_H
12 #include "common/macros.h"
13 #include "trace-ir-mapping.h"
16 * Return the location of a path's file (the last element of the path).
17 * Returns the original path on error.
20 const char *get_filename_from_path(const char *path
);
23 bt_bool
is_event_common_ctx_dbg_info_compatible(
24 const bt_field_class
*in_field_class
,
25 const char *debug_info_field_class_name
);
27 #endif /* BABELTRACE_PLUGIN_DEBUG_INFO_UTILS_H */