summaryrefslogtreecommitdiffstats
path: root/runtime/perf.c
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2009-02-20 14:56:38 +0100
committerMark Wielaard <mjw@redhat.com>2009-02-20 14:56:38 +0100
commit02615365a92ca2570c1f96abc8a97674aa2ccae1 (patch)
treeebedfd91a0f6d299b39e84295e091e12c0767dc8 /runtime/perf.c
parentc3bad3042df505a3470f1e20b09822a9df1d4761 (diff)
parentadc67597f327cd43d58b1d0cb740dab14a75a058 (diff)
downloadsystemtap-steved-02615365a92ca2570c1f96abc8a97674aa2ccae1.tar.gz
systemtap-steved-02615365a92ca2570c1f96abc8a97674aa2ccae1.tar.xz
systemtap-steved-02615365a92ca2570c1f96abc8a97674aa2ccae1.zip
Merge branch 'master' into pr6866
Conflicts: ChangeLog: Removed runtime/ChangeLog: Removed runtime/sym.c: Merged runtime/task_finder.c: Merged tapset/ChangeLog: Removed testsuite/ChangeLog: Removed
Diffstat (limited to 'runtime/perf.c')
-rw-r--r--runtime/perf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/perf.c b/runtime/perf.c
index 0b812630..9ac8b481 100644
--- a/runtime/perf.c
+++ b/runtime/perf.c
@@ -59,7 +59,7 @@ static struct pfarg_start start_args;
* @param pmd_count, number of entries in pmd
* @returns an int, 0 if no errors encountered during setup
*/
-int _stp_perfmon_setup(void **desc,
+static int _stp_perfmon_setup(void **desc,
struct pfarg_ctx *context,
struct pfarg_pmc pmc[], int pmc_count,
struct pfarg_pmd pmd[], int pmd_count)
@@ -98,7 +98,7 @@ cleanup: *desc=NULL;
* @param desc unique pointer to describe configuration
* @returns an int, 0 if no errors encountered during shutdown
*/
-int _stp_perfmon_shutdown(void *desc)
+static int _stp_perfmon_shutdown(void *desc)
{
int err=0;
@@ -116,7 +116,7 @@ int _stp_perfmon_shutdown(void *desc)
* @param desc unique pointer to describe configuration
* @returns an int64, raw value of counter
*/
-int64_t _stp_perfmon_read(void *desc, int counter)
+static int64_t _stp_perfmon_read(void *desc, int counter)
{
struct pfarg_pmd storage;