perf intel-pt: Add more event information to debug log
More event information is useful for debugging, especially MMAP events. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Link: http://lkml.kernel.org/r/20181105073505.8129-2-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:

committed by
Arnaldo Carvalho de Melo

parent
35fa1cee21
commit
93f8be2799
@@ -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;
|
||||
|
Reference in New Issue
Block a user