-
-
Save agentzh/0e0e92a81388d051e35f950247e98d21 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/runtime/stp_utrace.c b/runtime/stp_utrace.c | |
index 33f03b96f..1c79698dc 100644 | |
--- a/runtime/stp_utrace.c | |
+++ b/runtime/stp_utrace.c | |
@@ -105,7 +105,9 @@ struct utrace { | |
struct task_work report_work; | |
}; | |
-#define TASK_UTRACE_HASH_BITS 5 | |
+#ifndef TASK_UTRACE_HASH_BITS | |
+#define TASK_UTRACE_HASH_BITS 8 | |
+#endif | |
#define TASK_UTRACE_TABLE_SIZE (1 << TASK_UTRACE_HASH_BITS) | |
static struct hlist_head task_utrace_table[TASK_UTRACE_TABLE_SIZE]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment