2 * SPDX-License-Identifier: MIT
4 * Copyright 2016 Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 * Babeltrace - Debug Info Utilities
9 #ifndef BABELTRACE_PLUGINS_LTTNG_UTILS_DEBUG_INFO_UTILS_H
10 #define BABELTRACE_PLUGINS_LTTNG_UTILS_DEBUG_INFO_UTILS_H
14 #include <babeltrace2/babeltrace.h>
16 #include "common/macros.h"
19 * Return the location of a path's file (the last element of the path).
20 * Returns the original path on error.
22 const char *get_filename_from_path(const char *path
);
24 bool is_event_common_ctx_dbg_info_compatible(
25 const bt_field_class
*in_field_class
,
26 const char *debug_info_field_class_name
);
28 #endif /* BABELTRACE_PLUGINS_LTTNG_UTILS_DEBUG_INFO_UTILS_H */