diff options
author | 2017-06-19 13:39:28 -0400 | |
---|---|---|
committer | 2017-06-19 13:39:28 -0400 | |
commit | d4e0045c4ed300781d2d4cbab57d05ed5e665a37 (patch) | |
tree | 925bab41d7906329392aa12c8fa7bcc70f64ca46 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | drm/rockchip: gem: add the lacks lock and trivial changes (diff) | |
parent | Linux 4.12-rc6 (diff) | |
download | linux-dev-d4e0045c4ed300781d2d4cbab57d05ed5e665a37.tar.xz linux-dev-d4e0045c4ed300781d2d4cbab57d05ed5e665a37.zip |
Merge remote-tracking branch 'origin/master' into drm-misc-next-fixes
Backmerge 4.12-rc6 into -next-fixes. -next-fixes will contain find patches
for 4.13 merge window
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
-rw-r--r-- | tools/perf/util/scripting-engines/trace-event-python.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/perf/util/scripting-engines/trace-event-python.c b/tools/perf/util/scripting-engines/trace-event-python.c index 783326cfbaa6..40de3cb40d21 100644 --- a/tools/perf/util/scripting-engines/trace-event-python.c +++ b/tools/perf/util/scripting-engines/trace-event-python.c @@ -21,6 +21,7 @@ #include <Python.h> +#include <inttypes.h> #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -45,6 +46,7 @@ #include "../call-path.h" #include "thread_map.h" #include "cpumap.h" +#include "print_binary.h" #include "stat.h" PyMODINIT_FUNC initperf_trace_context(void); @@ -1217,7 +1219,7 @@ static int python_generate_script(struct pevent *pevent, const char *outfile) fprintf(ofp, "# be retrieved using Python functions of the form " "common_*(context).\n"); - fprintf(ofp, "# See the perf-trace-python Documentation for the list " + fprintf(ofp, "# See the perf-script-python Documentation for the list " "of available functions.\n\n"); fprintf(ofp, "import os\n"); |