diff options
author | Tom Zanussi <tzanussi@gmail.com> | 2009-11-30 01:18:48 -0600 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-11-30 09:04:00 +0100 |
commit | 61381de0504181368672a83d2e14c38dbaf3c136 (patch) | |
tree | 3c3ab8855ea2807b7eb354c79684200291a40ebe /tools/perf/scripts/perl/Perf-Trace-Util/Context.xs | |
parent | e136323c5a8a7d91d17c5b7b340758bb9dd33739 (diff) |
perf trace/scripting: Fix Perl common_* access functions
The common_* functions (e.g. common_pc(), etc) are exported as
common_* but named get_common_*, resulting in unresolved
subroutine errors when executing scripts.
Make the internal and external names match.
Signed-off-by: Tom Zanussi <tzanussi@gmail.com>
Cc: fweisbec@gmail.com
Cc: rostedt@goodmis.org
Cc: anton@samba.org
Cc: hch@infradead.org
LKML-Reference: <1259565529-6407-4-git-send-email-tzanussi@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/scripts/perl/Perf-Trace-Util/Context.xs')
-rw-r--r-- | tools/perf/scripts/perl/Perf-Trace-Util/Context.xs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/perf/scripts/perl/Perf-Trace-Util/Context.xs b/tools/perf/scripts/perl/Perf-Trace-Util/Context.xs index 24facb3696d..fb78006c165 100644 --- a/tools/perf/scripts/perl/Perf-Trace-Util/Context.xs +++ b/tools/perf/scripts/perl/Perf-Trace-Util/Context.xs @@ -28,14 +28,14 @@ MODULE = Perf::Trace::Context PACKAGE = Perf::Trace::Context PROTOTYPES: ENABLE int -get_common_pc(context) +common_pc(context) struct scripting_context * context int -get_common_flags(context) +common_flags(context) struct scripting_context * context int -get_common_lock_depth(context) +common_lock_depth(context) struct scripting_context * context |