diff options
| author | David S. Miller <[email protected]> | 2018-11-12 01:57:54 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-11-12 01:57:54 +0000 |
| commit | 2b9b7502dfcb6169dbf3359702953bf756b4e273 (patch) | |
| tree | 58ab22096d49de6a0e049cf1267edc34b82916dc /tools/perf/util/intel-pt-decoder/intel-pt-log.c | |
| parent | PCI: add USR vendor id and use it in r8169 and w6692 driver (diff) | |
| parent | Linux 4.20-rc2 (diff) | |
| download | kernel-2b9b7502dfcb6169dbf3359702953bf756b4e273.tar.gz kernel-2b9b7502dfcb6169dbf3359702953bf756b4e273.zip | |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Diffstat (limited to 'tools/perf/util/intel-pt-decoder/intel-pt-log.c')
| -rw-r--r-- | tools/perf/util/intel-pt-decoder/intel-pt-log.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/perf/util/intel-pt-decoder/intel-pt-log.c b/tools/perf/util/intel-pt-decoder/intel-pt-log.c index e02bc7b166a0..5e64da270f97 100644 --- a/tools/perf/util/intel-pt-decoder/intel-pt-log.c +++ b/tools/perf/util/intel-pt-decoder/intel-pt-log.c @@ -31,6 +31,11 @@ static FILE *f; static char log_name[MAX_LOG_NAME]; bool intel_pt_enable_logging; +void *intel_pt_log_fp(void) +{ + return f; +} + void intel_pt_log_enable(void) { intel_pt_enable_logging = true; |
