projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: fd-tracker: mark symbols as hidden
[lttng-tools.git]
/
src
/
common
/
fd-tracker
/
inode.c
diff --git
a/src/common/fd-tracker/inode.c
b/src/common/fd-tracker/inode.c
index 16dd49a6ff2c95230efd1aba28fe2788d11c5722..82799aee7e5fdcd107b89345c8c00d8e04c97f95 100644
(file)
--- a/
src/common/fd-tracker/inode.c
+++ b/
src/common/fd-tracker/inode.c
@@
-245,7
+245,7
@@
static void lttng_inode_get(struct lttng_inode *inode)
urcu_ref_get(&inode->ref);
}
urcu_ref_get(&inode->ref);
}
-struct lttng_unlinked_file_pool *lttng_unlinked_file_pool_create(
+
LTTNG_HIDDEN
struct lttng_unlinked_file_pool *lttng_unlinked_file_pool_create(
const char *path)
{
struct lttng_unlinked_file_pool *pool = zmalloc(sizeof(*pool));
const char *path)
{
struct lttng_unlinked_file_pool *pool = zmalloc(sizeof(*pool));
@@
-268,7
+268,7
@@
error:
return NULL;
}
return NULL;
}
-void lttng_unlinked_file_pool_destroy(
+
LTTNG_HIDDEN
void lttng_unlinked_file_pool_destroy(
struct lttng_unlinked_file_pool *pool)
{
if (!pool) {
struct lttng_unlinked_file_pool *pool)
{
if (!pool) {
@@
-281,12
+281,13
@@
void lttng_unlinked_file_pool_destroy(
free(pool);
}
free(pool);
}
-void lttng_inode_put(struct lttng_inode *inode)
+
LTTNG_HIDDEN
void lttng_inode_put(struct lttng_inode *inode)
{
urcu_ref_put(&inode->ref, lttng_inode_release);
}
{
urcu_ref_put(&inode->ref, lttng_inode_release);
}
-struct lttng_directory_handle *lttng_inode_get_location_directory_handle(
+LTTNG_HIDDEN struct lttng_directory_handle *
+lttng_inode_get_location_directory_handle(
struct lttng_inode *inode)
{
if (inode->location.directory_handle) {
struct lttng_inode *inode)
{
if (inode->location.directory_handle) {
@@
-298,7
+299,7
@@
struct lttng_directory_handle *lttng_inode_get_location_directory_handle(
return inode->location.directory_handle;
}
return inode->location.directory_handle;
}
-void lttng_inode_borrow_location(struct lttng_inode *inode,
+
LTTNG_HIDDEN
void lttng_inode_borrow_location(struct lttng_inode *inode,
const struct lttng_directory_handle **out_directory_handle,
const char **out_path)
{
const struct lttng_directory_handle **out_directory_handle,
const char **out_path)
{
@@
-310,7
+311,7
@@
void lttng_inode_borrow_location(struct lttng_inode *inode,
}
}
}
}
-int lttng_inode_rename(
+
LTTNG_HIDDEN
int lttng_inode_rename(
struct lttng_inode *inode,
struct lttng_directory_handle *old_directory_handle,
const char *old_path,
struct lttng_inode *inode,
struct lttng_directory_handle *old_directory_handle,
const char *old_path,
@@
-380,7
+381,7
@@
end:
return ret;
}
return ret;
}
-int lttng_inode_unlink(struct lttng_inode *inode)
+
LTTNG_HIDDEN
int lttng_inode_unlink(struct lttng_inode *inode)
{
int ret = 0;
{
int ret = 0;
@@
-446,7
+447,7
@@
end:
return inode;
}
return inode;
}
-struct lttng_inode_registry *lttng_inode_registry_create(void)
+
LTTNG_HIDDEN
struct lttng_inode_registry *lttng_inode_registry_create(void)
{
struct lttng_inode_registry *registry = zmalloc(sizeof(*registry));
{
struct lttng_inode_registry *registry = zmalloc(sizeof(*registry));
@@
-473,7
+474,8
@@
error:
return NULL;
}
return NULL;
}
-void lttng_inode_registry_destroy(struct lttng_inode_registry *registry)
+LTTNG_HIDDEN void lttng_inode_registry_destroy(
+ struct lttng_inode_registry *registry)
{
if (!registry) {
return;
{
if (!registry) {
return;
@@
-486,7
+488,7
@@
void lttng_inode_registry_destroy(struct lttng_inode_registry *registry)
free(registry);
}
free(registry);
}
-struct lttng_inode *lttng_inode_registry_get_inode(
+
LTTNG_HIDDEN
struct lttng_inode *lttng_inode_registry_get_inode(
struct lttng_inode_registry *registry,
struct lttng_directory_handle *handle,
const char *path,
struct lttng_inode_registry *registry,
struct lttng_directory_handle *handle,
const char *path,
This page took
0.026654 seconds
and
5
git commands to generate.