summaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/perf-time-to-tsc.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2013-12-19 14:43:45 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-12-19 14:43:45 -0300
commitb40067964f09a5b4d9e133dec225007ee0a13050 (patch)
treee6e2a039e3c7e24ed93581937419c317df5fc36d /tools/perf/tests/perf-time-to-tsc.c
parent8c6f45a7c263840c27dfe846d40577b49e43b85b (diff)
downloadblackbird-op-linux-b40067964f09a5b4d9e133dec225007ee0a13050.tar.gz
blackbird-op-linux-b40067964f09a5b4d9e133dec225007ee0a13050.zip
perf tools: Rename 'perf_record_opts' to 'record_opts
Reduce typing, functions use class__method convention, so unlikely to clash with other libraries. This actually was discussed in the "Link:" referenced message below. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/r/20131112113427.GA4053@ghostprotocols.net Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/tests/perf-time-to-tsc.c')
-rw-r--r--tools/perf/tests/perf-time-to-tsc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/tests/perf-time-to-tsc.c b/tools/perf/tests/perf-time-to-tsc.c
index 4ca1b938f6a6..c6398b90e897 100644
--- a/tools/perf/tests/perf-time-to-tsc.c
+++ b/tools/perf/tests/perf-time-to-tsc.c
@@ -46,7 +46,7 @@ static u64 rdtsc(void)
*/
int test__perf_time_to_tsc(void)
{
- struct perf_record_opts opts = {
+ struct record_opts opts = {
.mmap_pages = UINT_MAX,
.user_freq = UINT_MAX,
.user_interval = ULLONG_MAX,
OpenPOWER on IntegriCloud