projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Scalability fix: tracepoint.c hash table size increase
[lttng-ust.git]
/
liblttng-ust
/
tracepoint.c
diff --git
a/liblttng-ust/tracepoint.c
b/liblttng-ust/tracepoint.c
index c803f8afda52d29c0066fcd47a3a1f83af5c346f..7de56ca0361dbbe5b55c0704cdcbe1eca44fb58a 100644
(file)
--- a/
liblttng-ust/tracepoint.c
+++ b/
liblttng-ust/tracepoint.c
@@
-78,7
+78,7
@@
static CDS_LIST_HEAD(libs);
* Tracepoint hash table, containing the active tracepoints.
* Protected by tracepoint mutex.
*/
* Tracepoint hash table, containing the active tracepoints.
* Protected by tracepoint mutex.
*/
-#define TRACEPOINT_HASH_BITS
6
+#define TRACEPOINT_HASH_BITS
12
#define TRACEPOINT_TABLE_SIZE (1 << TRACEPOINT_HASH_BITS)
static struct cds_hlist_head tracepoint_table[TRACEPOINT_TABLE_SIZE];
#define TRACEPOINT_TABLE_SIZE (1 << TRACEPOINT_HASH_BITS)
static struct cds_hlist_head tracepoint_table[TRACEPOINT_TABLE_SIZE];
This page took
0.024617 seconds
and
4
git commands to generate.