struct evlist *evlist = kvm->evlist;
        char sbuf[STRERR_BUFSIZE];
 
-       perf_evlist__config(evlist, &kvm->opts, NULL);
+       evlist__config(evlist, &kvm->opts, NULL);
 
        /*
         * Note: exclude_{guest,host} do not apply here.
 
                        pos->immediate = 1;
        }
 
-       perf_evlist__config(evlist, opts, &callchain_param);
+       evlist__config(evlist, opts, &callchain_param);
 
        evlist__for_each_entry(evlist, pos) {
 try_again:
                pos->supported = true;
        }
 
-       if (symbol_conf.kptr_restrict && !perf_evlist__exclude_kernel(evlist)) {
+       if (symbol_conf.kptr_restrict && !evlist__exclude_kernel(evlist)) {
                pr_warning(
 "WARNING: Kernel address maps (/proc/{kallsyms,modules}) are restricted,\n"
 "check /proc/sys/kernel/kptr_restrict and /proc/sys/kernel/perf_event_paranoid.\n\n"
                        goto out;
        }
 
-       if (!perf_evlist__exclude_kernel(rec->evlist)) {
+       if (!evlist__exclude_kernel(rec->evlist)) {
                err = perf_event__synthesize_kernel_mmap(tool, process_synthesized_event,
                                                         machine);
                WARN_ONCE(err < 0, "Couldn't record kernel reference relocation symbol\n"
 
        struct map *kernel_map = machine__kernel_map(&rep->session->machines.host);
        struct kmap *kernel_kmap = kernel_map ? map__kmap(kernel_map) : NULL;
 
-       if (perf_evlist__exclude_kernel(rep->session->evlist))
+       if (evlist__exclude_kernel(rep->session->evlist))
                return;
 
        if (kernel_map == NULL ||
 
        if (!machine->kptr_restrict_warned &&
            symbol_conf.kptr_restrict &&
            al.cpumode == PERF_RECORD_MISC_KERNEL) {
-               if (!perf_evlist__exclude_kernel(top->session->evlist)) {
+               if (!evlist__exclude_kernel(top->session->evlist)) {
                        ui__warning(
 "Kernel address maps (/proc/{kallsyms,modules}) are restricted.\n\n"
 "Check /proc/sys/kernel/kptr_restrict and /proc/sys/kernel/perf_event_paranoid.\n\n"
                goto out_err;
        }
 
-       perf_evlist__config(evlist, opts, &callchain_param);
+       evlist__config(evlist, opts, &callchain_param);
 
        evlist__for_each_entry(evlist, counter) {
 try_again:
 
                goto out_delete_evlist;
        }
 
-       perf_evlist__config(evlist, &trace->opts, &callchain_param);
+       evlist__config(evlist, &trace->opts, &callchain_param);
 
        signal(SIGCHLD, sig_handler);
        signal(SIGINT, sig_handler);
 
                goto out_delete_evlist;
        }
 
-       perf_evlist__config(evlist, &opts, NULL);
+       evlist__config(evlist, &opts, NULL);
 
        err = evlist__open(evlist);
        if (err < 0) {
 
        evlist__splice_list_tail(evlist, &parse_state.list);
        evlist->nr_groups = parse_state.nr_groups;
 
-       perf_evlist__config(evlist, &opts, NULL);
+       evlist__config(evlist, &opts, NULL);
 
        err = evlist__open(evlist);
        if (err < 0) {
 
                        goto out_put;
                }
 
-               perf_evlist__config(evlist, &opts, NULL);
+               evlist__config(evlist, &opts, NULL);
 
                evsel = evlist__first(evlist);
 
 
        CHECK__(parse_events(evlist, "dummy:u", NULL));
        CHECK__(parse_events(evlist, "cycles:u", NULL));
 
-       perf_evlist__config(evlist, &opts, NULL);
+       evlist__config(evlist, &opts, NULL);
 
        evsel = evlist__first(evlist);
 
 
        TEST_ASSERT_VAL("wrong config",
                        PERF_COUNT_HW_CPU_CYCLES == evsel->core.attr.config);
        /*
-        * The period value gets configured within perf_evlist__config,
+        * The period value gets configured within evlist__config,
         * while this test executes only parse events method.
         */
        TEST_ASSERT_VAL("wrong period",
        TEST_ASSERT_VAL("wrong config1",    1 == evsel->core.attr.config1);
        TEST_ASSERT_VAL("wrong config2",    3 == evsel->core.attr.config2);
        /*
-        * The period value gets configured within perf_evlist__config,
+        * The period value gets configured within evlist__config,
         * while this test executes only parse events method.
         */
        TEST_ASSERT_VAL("wrong period",     0 == evsel->core.attr.sample_period);
        TEST_ASSERT_VAL("wrong type", PERF_TYPE_RAW == evsel->core.attr.type);
        TEST_ASSERT_VAL("wrong config",  1 == evsel->core.attr.config);
        /*
-        * The period, time and callgraph value gets configured
-        * within perf_evlist__config,
+        * The period, time and callgraph value gets configured within evlist__config,
         * while this test executes only parse events method.
         */
        TEST_ASSERT_VAL("wrong period",     0 == evsel->core.attr.sample_period);
        TEST_ASSERT_VAL("wrong type", PERF_TYPE_RAW == evsel->core.attr.type);
        TEST_ASSERT_VAL("wrong config",  2 == evsel->core.attr.config);
        /*
-        * The period, time and callgraph value gets configured
-        * within perf_evlist__config,
+        * The period, time and callgraph value gets configured within evlist__config,
         * while this test executes only parse events method.
         */
        TEST_ASSERT_VAL("wrong period",     0 == evsel->core.attr.sample_period);
 
        evsel__set_sample_bit(evsel, CPU);
        evsel__set_sample_bit(evsel, TID);
        evsel__set_sample_bit(evsel, TIME);
-       perf_evlist__config(evlist, &opts, NULL);
+       evlist__config(evlist, &opts, NULL);
 
        err = sched__get_first_possible_cpu(evlist->workload.pid, &cpu_mask);
        if (err < 0) {
 
 
        CHECK__(parse_events(evlist, "cycles:u", NULL));
 
-       perf_evlist__config(evlist, &opts, NULL);
+       evlist__config(evlist, &opts, NULL);
 
        evsel = evlist__first(evlist);
 
 
        evsel__set_sample_bit(tracking_evsel, TIME);
 
        /* Config events */
-       perf_evlist__config(evlist, &opts, NULL);
+       evlist__config(evlist, &opts, NULL);
 
        /* Check moved event is still at the front */
        if (cycles_evsel != evlist__first(evlist)) {
 
        return branch_type;
 }
 
-bool perf_evlist__valid_read_format(struct evlist *evlist)
+bool evlist__valid_read_format(struct evlist *evlist)
 {
        struct evsel *first = evlist__first(evlist), *pos = first;
        u64 read_format = first->core.attr.read_format;
        return;
 }
 
-bool perf_evlist__exclude_kernel(struct evlist *evlist)
+bool evlist__exclude_kernel(struct evlist *evlist)
 {
        struct evsel *evsel;
 
 
 struct callchain_param;
 
 void evlist__set_id_pos(struct evlist *evlist);
-void perf_evlist__config(struct evlist *evlist, struct record_opts *opts,
-                        struct callchain_param *callchain);
+void evlist__config(struct evlist *evlist, struct record_opts *opts, struct callchain_param *callchain);
 int record_opts__config(struct record_opts *opts);
 
 int evlist__prepare_workload(struct evlist *evlist, struct target *target,
 
 bool evlist__valid_sample_type(struct evlist *evlist);
 bool evlist__valid_sample_id_all(struct evlist *evlist);
-bool perf_evlist__valid_read_format(struct evlist *evlist);
+bool evlist__valid_read_format(struct evlist *evlist);
 
 void evlist__splice_list_tail(struct evlist *evlist, struct list_head *list);
 
 
 struct evsel *evlist__event2evsel(struct evlist *evlist, union perf_event *event);
 
-bool perf_evlist__exclude_kernel(struct evlist *evlist);
+bool evlist__exclude_kernel(struct evlist *evlist);
 
 void evlist__force_leader(struct evlist *evlist);
 
 
                            leader->core.attr.sample_type;
 }
 
-void perf_evlist__config(struct evlist *evlist, struct record_opts *opts,
-                        struct callchain_param *callchain)
+void evlist__config(struct evlist *evlist, struct record_opts *opts, struct callchain_param *callchain)
 {
        struct evsel *evsel;
        bool use_sample_identifier = false;
 
                return -1;
        }
 
-       if (!perf_evlist__valid_read_format(session->evlist)) {
+       if (!evlist__valid_read_format(session->evlist)) {
                pr_err("non matching read_format\n");
                return -1;
        }