hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/tools/perf/util/intel-pt-decoder/intel-pt-log.c
....@@ -1,16 +1,7 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * intel_pt_log.c: Intel Processor Trace support
34 * Copyright (c) 2013-2014, Intel Corporation.
4
- *
5
- * This program is free software; you can redistribute it and/or modify it
6
- * under the terms and conditions of the GNU General Public License,
7
- * version 2, as published by the Free Software Foundation.
8
- *
9
- * This program is distributed in the hope it will be useful, but WITHOUT
10
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12
- * more details.
13
- *
145 */
156
167 #include <stdio.h>
....@@ -31,6 +22,11 @@
3122 static char log_name[MAX_LOG_NAME];
3223 bool intel_pt_enable_logging;
3324
25
+void *intel_pt_log_fp(void)
26
+{
27
+ return f;
28
+}
29
+
3430 void intel_pt_log_enable(void)
3531 {
3632 intel_pt_enable_logging = true;