projects
/
lttngtop.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup namespace of filter lists
[lttngtop.git]
/
src
/
common.c
diff --git
a/src/common.c
b/src/common.c
index 15f9de0864fb8675859b4ad807fd50a826eb097a..95f021012ddcbd1ff7d619e4688f458ce0cb0f95 100644
(file)
--- a/
src/common.c
+++ b/
src/common.c
@@
-669,26
+669,26
@@
struct tm format_timestamp(uint64_t timestamp)
int *lookup_tid_list(int tid)
{
int *lookup_tid_list(int tid)
{
- if (!tid_list)
+ if (!tid_
filter_
list)
return NULL;
return NULL;
- return g_hash_table_lookup(tid_list, (gpointer) &tid);
+ return g_hash_table_lookup(tid_
filter_
list, (gpointer) &tid);
}
char *lookup_hostname_list(const char *hostname)
{
}
char *lookup_hostname_list(const char *hostname)
{
- if (!hostname || !hostname_list)
+ if (!hostname || !hostname_
filter_
list)
return NULL;
return NULL;
- return g_hash_table_lookup(hostname_list, (gpointer) hostname);
+ return g_hash_table_lookup(hostname_
filter_
list, (gpointer) hostname);
}
void remove_hostname_list(const char *hostname)
{
}
void remove_hostname_list(const char *hostname)
{
- if (!hostname || !hostname_list)
+ if (!hostname || !hostname_
filter_
list)
return;
return;
- g_hash_table_remove(hostname_list, (gpointer) hostname);
+ g_hash_table_remove(hostname_
filter_
list, (gpointer) hostname);
}
int *lookup_filter_tid_list(int tid)
}
int *lookup_filter_tid_list(int tid)
This page took
0.022946 seconds
and
4
git commands to generate.