perf evsel: Rename *perf_evsel__*name() to *evsel__*name()
As they are 'struct evsel' methods or related routines, not part of tools/lib/perf/, aka libperf, to whom the perf_ prefix belongs. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
@@ -1155,7 +1155,7 @@ static int add_event(struct ctf_writer *cw, struct evsel *evsel)
|
||||
{
|
||||
struct bt_ctf_event_class *event_class;
|
||||
struct evsel_priv *priv;
|
||||
const char *name = perf_evsel__name(evsel);
|
||||
const char *name = evsel__name(evsel);
|
||||
int ret;
|
||||
|
||||
pr("Adding event '%s' (type %d)\n", name, evsel->core.attr.type);
|
||||
|
Reference in New Issue
Block a user