diff options
author | Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> | 2015-03-30 21:53:43 -0400 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2015-04-11 06:49:24 -0400 |
commit | 33ba14c0d8ff64d51adb543f689cde7a9a227cd8 (patch) | |
tree | 000df694cb96f23352b1cfc5d716afd3cefd38d4 /arch/powerpc | |
parent | f954825dd9c47ffaa0e6ff86e16a2355ae8a81d7 (diff) |
powerpc/perf/hv-24x7: Rename hv_24x7_event_update
For consistency with the pmu operation ->read() and with other
pmus, rename hv_24x7_event_update() to hv_24x7_event_read().
Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/perf/hv-24x7.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/perf/hv-24x7.c b/arch/powerpc/perf/hv-24x7.c index a58a1dfb15e2..e78b1272aa0e 100644 --- a/arch/powerpc/perf/hv-24x7.c +++ b/arch/powerpc/perf/hv-24x7.c | |||
@@ -1146,7 +1146,7 @@ static u64 h_24x7_get_value(struct perf_event *event) | |||
1146 | return ct; | 1146 | return ct; |
1147 | } | 1147 | } |
1148 | 1148 | ||
1149 | static void h_24x7_event_update(struct perf_event *event) | 1149 | static void h_24x7_event_read(struct perf_event *event) |
1150 | { | 1150 | { |
1151 | s64 prev; | 1151 | s64 prev; |
1152 | u64 now; | 1152 | u64 now; |
@@ -1163,7 +1163,7 @@ static void h_24x7_event_start(struct perf_event *event, int flags) | |||
1163 | 1163 | ||
1164 | static void h_24x7_event_stop(struct perf_event *event, int flags) | 1164 | static void h_24x7_event_stop(struct perf_event *event, int flags) |
1165 | { | 1165 | { |
1166 | h_24x7_event_update(event); | 1166 | h_24x7_event_read(event); |
1167 | } | 1167 | } |
1168 | 1168 | ||
1169 | static int h_24x7_event_add(struct perf_event *event, int flags) | 1169 | static int h_24x7_event_add(struct perf_event *event, int flags) |
@@ -1184,7 +1184,7 @@ static struct pmu h_24x7_pmu = { | |||
1184 | .del = h_24x7_event_stop, | 1184 | .del = h_24x7_event_stop, |
1185 | .start = h_24x7_event_start, | 1185 | .start = h_24x7_event_start, |
1186 | .stop = h_24x7_event_stop, | 1186 | .stop = h_24x7_event_stop, |
1187 | .read = h_24x7_event_update, | 1187 | .read = h_24x7_event_read, |
1188 | }; | 1188 | }; |
1189 | 1189 | ||
1190 | static int hv_24x7_init(void) | 1190 | static int hv_24x7_init(void) |