diff options
| author | David Ahern <dsahern@gmail.com> | 2012-08-19 11:46:22 -0400 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-08-20 08:30:36 -0400 |
| commit | e8d0f400ee3247ad22faa6afabfa7022260ef7a5 (patch) | |
| tree | 7f0f4049d2d3b9e4f97ff5a742e04ed179dab834 | |
| parent | 2708bf3a30b7bfa02d60a3f03603b6b92d093f1a (diff) | |
perf script perl/python: Fix libexec scripts path in Documentation
The libexec path is /libexec/perf-core/scripts/*/Perf-Trace-Util.
Signed-off-by: David Ahern <dsahern@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Link: http://lkml.kernel.org/r/1345391182-71825-1-git-send-email-dsahern@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
| -rw-r--r-- | tools/perf/Documentation/perf-script-perl.txt | 4 | ||||
| -rw-r--r-- | tools/perf/Documentation/perf-script-python.txt | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/tools/perf/Documentation/perf-script-perl.txt b/tools/perf/Documentation/perf-script-perl.txt index 3152cca15501..d00bef231340 100644 --- a/tools/perf/Documentation/perf-script-perl.txt +++ b/tools/perf/Documentation/perf-script-perl.txt | |||
| @@ -116,8 +116,8 @@ search path and 'use'ing a few support modules (see module | |||
| 116 | descriptions below): | 116 | descriptions below): |
| 117 | 117 | ||
| 118 | ---- | 118 | ---- |
| 119 | use lib "$ENV{'PERF_EXEC_PATH'}/scripts/perl/perf-script-Util/lib"; | 119 | use lib "$ENV{'PERF_EXEC_PATH'}/scripts/perl/Perf-Trace-Util/lib"; |
| 120 | use lib "./perf-script-Util/lib"; | 120 | use lib "./Perf-Trace-Util/lib"; |
| 121 | use Perf::Trace::Core; | 121 | use Perf::Trace::Core; |
| 122 | use Perf::Trace::Context; | 122 | use Perf::Trace::Context; |
| 123 | use Perf::Trace::Util; | 123 | use Perf::Trace::Util; |
diff --git a/tools/perf/Documentation/perf-script-python.txt b/tools/perf/Documentation/perf-script-python.txt index 471022069119..a4027f221a53 100644 --- a/tools/perf/Documentation/perf-script-python.txt +++ b/tools/perf/Documentation/perf-script-python.txt | |||
| @@ -129,7 +129,7 @@ import os | |||
| 129 | import sys | 129 | import sys |
| 130 | 130 | ||
| 131 | sys.path.append(os.environ['PERF_EXEC_PATH'] + \ | 131 | sys.path.append(os.environ['PERF_EXEC_PATH'] + \ |
| 132 | '/scripts/python/perf-script-Util/lib/Perf/Trace') | 132 | '/scripts/python/Perf-Trace-Util/lib/Perf/Trace') |
| 133 | 133 | ||
| 134 | from perf_trace_context import * | 134 | from perf_trace_context import * |
| 135 | from Core import * | 135 | from Core import * |
| @@ -216,7 +216,7 @@ import os | |||
| 216 | import sys | 216 | import sys |
| 217 | 217 | ||
| 218 | sys.path.append(os.environ['PERF_EXEC_PATH'] + \ | 218 | sys.path.append(os.environ['PERF_EXEC_PATH'] + \ |
| 219 | '/scripts/python/perf-script-Util/lib/Perf/Trace') | 219 | '/scripts/python/Perf-Trace-Util/lib/Perf/Trace') |
| 220 | 220 | ||
| 221 | from perf_trace_context import * | 221 | from perf_trace_context import * |
| 222 | from Core import * | 222 | from Core import * |
| @@ -279,7 +279,7 @@ import os | |||
| 279 | import sys | 279 | import sys |
| 280 | 280 | ||
| 281 | sys.path.append(os.environ['PERF_EXEC_PATH'] + \ | 281 | sys.path.append(os.environ['PERF_EXEC_PATH'] + \ |
| 282 | '/scripts/python/perf-script-Util/lib/Perf/Trace') | 282 | '/scripts/python/Perf-Trace-Util/lib/Perf/Trace') |
| 283 | 283 | ||
| 284 | from perf_trace_context import * | 284 | from perf_trace_context import * |
| 285 | from Core import * | 285 | from Core import * |
| @@ -391,7 +391,7 @@ drwxr-xr-x 4 trz trz 4096 2010-01-26 22:30 . | |||
| 391 | drwxr-xr-x 4 trz trz 4096 2010-01-26 22:29 .. | 391 | drwxr-xr-x 4 trz trz 4096 2010-01-26 22:29 .. |
| 392 | drwxr-xr-x 2 trz trz 4096 2010-01-26 22:29 bin | 392 | drwxr-xr-x 2 trz trz 4096 2010-01-26 22:29 bin |
| 393 | -rw-r--r-- 1 trz trz 2548 2010-01-26 22:29 check-perf-script.py | 393 | -rw-r--r-- 1 trz trz 2548 2010-01-26 22:29 check-perf-script.py |
| 394 | drwxr-xr-x 3 trz trz 4096 2010-01-26 22:49 perf-script-Util | 394 | drwxr-xr-x 3 trz trz 4096 2010-01-26 22:49 Perf-Trace-Util |
| 395 | -rw-r--r-- 1 trz trz 1462 2010-01-26 22:30 syscall-counts.py | 395 | -rw-r--r-- 1 trz trz 1462 2010-01-26 22:30 syscall-counts.py |
| 396 | ---- | 396 | ---- |
| 397 | 397 | ||
| @@ -518,7 +518,7 @@ descriptions below): | |||
| 518 | import sys | 518 | import sys |
| 519 | 519 | ||
| 520 | sys.path.append(os.environ['PERF_EXEC_PATH'] + \ | 520 | sys.path.append(os.environ['PERF_EXEC_PATH'] + \ |
| 521 | '/scripts/python/perf-script-Util/lib/Perf/Trace') | 521 | '/scripts/python/Perf-Trace-Util/lib/Perf/Trace') |
| 522 | 522 | ||
| 523 | from perf_trace_context import * | 523 | from perf_trace_context import * |
| 524 | from Core import * | 524 | from Core import * |
