summaryrefslogtreecommitdiff
path: root/lib/zstd/common/debug.c
diff options
context:
space:
mode:
authorMaxime Ripard <maxime@cerno.tech>2021-11-16 10:51:39 +0300
committerMaxime Ripard <maxime@cerno.tech>2021-11-16 10:51:39 +0300
commit467dd91e2f783d34b2205751bdf88bcdcac55984 (patch)
tree50712cab9037a8566756ba831a2a60ef5f062d23 /lib/zstd/common/debug.c
parentbb162bb2b4394108c8f055d1b115735331205e28 (diff)
parentfa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf (diff)
downloadlinux-467dd91e2f783d34b2205751bdf88bcdcac55984.tar.xz
Merge drm/drm-fixes into drm-misc-fixes
We need -rc1 to address a breakage in drm/scheduler affecting panfrost. Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Diffstat (limited to 'lib/zstd/common/debug.c')
-rw-r--r--lib/zstd/common/debug.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/lib/zstd/common/debug.c b/lib/zstd/common/debug.c
new file mode 100644
index 000000000000..bb863c9ea616
--- /dev/null
+++ b/lib/zstd/common/debug.c
@@ -0,0 +1,24 @@
+/* ******************************************************************
+ * debug
+ * Part of FSE library
+ * Copyright (c) Yann Collet, Facebook, Inc.
+ *
+ * You can contact the author at :
+ * - Source repository : https://github.com/Cyan4973/FiniteStateEntropy
+ *
+ * This source code is licensed under both the BSD-style license (found in the
+ * LICENSE file in the root directory of this source tree) and the GPLv2 (found
+ * in the COPYING file in the root directory of this source tree).
+ * You may select, at your option, one of the above-listed licenses.
+****************************************************************** */
+
+
+/*
+ * This module only hosts one global variable
+ * which can be used to dynamically influence the verbosity of traces,
+ * such as DEBUGLOG and RAWLOG
+ */
+
+#include "debug.h"
+
+int g_debuglevel = DEBUGLEVEL;