commit | 116f349c5bf8c7aec4047dd6e06c310354b46e4f | [log] [tgz] |
---|---|---|
author | Adrian Hunter <adrian.hunter@intel.com> | Fri Sep 25 16:15:35 2015 +0300 |
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | Mon Sep 28 16:45:26 2015 -0300 |
tree | 6a6596049af5450e5a521915a7a56bddb39d4393 | |
parent | 9992c2d50a73f442653968a98a9e5f3bf4e769e9 [diff] |
perf intel-pt: Make logging slightly more efficient Logging is only used for debugging. Use macros to save calling into the functions only to return immediately when logging is not enabled. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@redhat.com> Link: http://lkml.kernel.org/r/1443186956-18718-5-git-send-email-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>