Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8d50e5b4 authored by Arnaldo Carvalho de Melo's avatar Arnaldo Carvalho de Melo
Browse files

perf tools: Rename 'struct sample_data' to 'struct perf_sample'



Making the namespace more uniform.

Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 93fc64f1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@ static int hists__add_entry(struct hists *self, struct addr_location *al)
	return hist_entry__inc_addr_samples(he, al->addr);
}

static int process_sample_event(event_t *event, struct sample_data *sample,
static int process_sample_event(event_t *event, struct perf_sample *sample,
				struct perf_session *session)
{
	struct addr_location al;
+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ static int hists__add_entry(struct hists *self,
}

static int diff__process_sample_event(event_t *event,
				      struct sample_data *sample,
				      struct perf_sample *sample,
				      struct perf_session *session)
{
	struct addr_location al;
+4 −4
Original line number Diff line number Diff line
@@ -36,13 +36,13 @@ static int event__repipe_synth(event_t *event,
	return 0;
}

static int event__repipe(event_t *event, struct sample_data *sample __used,
static int event__repipe(event_t *event, struct perf_sample *sample __used,
			 struct perf_session *session)
{
	return event__repipe_synth(event, session);
}

static int event__repipe_mmap(event_t *self, struct sample_data *sample,
static int event__repipe_mmap(event_t *self, struct perf_sample *sample,
			      struct perf_session *session)
{
	int err;
@@ -53,7 +53,7 @@ static int event__repipe_mmap(event_t *self, struct sample_data *sample,
	return err;
}

static int event__repipe_task(event_t *self, struct sample_data *sample,
static int event__repipe_task(event_t *self, struct perf_sample *sample,
			      struct perf_session *session)
{
	int err;
@@ -119,7 +119,7 @@ static int dso__inject_build_id(struct dso *self, struct perf_session *session)
	return 0;
}

static int event__inject_buildid(event_t *event, struct sample_data *sample,
static int event__inject_buildid(event_t *event, struct perf_sample *sample,
				 struct perf_session *session)
{
	struct addr_location al;
+1 −1
Original line number Diff line number Diff line
@@ -304,7 +304,7 @@ process_raw_event(event_t *raw_event __used, void *data,
	}
}

static int process_sample_event(event_t *event, struct sample_data *sample,
static int process_sample_event(event_t *event, struct perf_sample *sample,
				struct perf_session *session)
{
	struct thread *thread = perf_session__findnew(session, event->ip.pid);
+1 −1
Original line number Diff line number Diff line
@@ -834,7 +834,7 @@ static void dump_info(void)
		die("Unknown type of information\n");
}

static int process_sample_event(event_t *self, struct sample_data *sample,
static int process_sample_event(event_t *self, struct perf_sample *sample,
				struct perf_session *s)
{
	struct thread *thread = perf_session__findnew(s, sample->tid);
Loading