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 021f2f1217b2316bd383e1a1ec146df492b70fd4..e3e814be972b26d5f7e099644e52ec667a7f7852 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.024865 seconds
and
4
git commands to generate.