summaryrefslogtreecommitdiff
path: root/tools/perf/util/db-export.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2015-04-02 17:16:05 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2015-04-02 19:18:43 +0300
commitb83e868d0a0350c107b98417b4dcc73834506f98 (patch)
tree4232690080dcd313cf7db43f8ad1f265720715a2 /tools/perf/util/db-export.h
parent7327259d7ea96d04d02e7dbe51ee9201319dc204 (diff)
downloadlinux-b83e868d0a0350c107b98417b4dcc73834506f98.tar.xz
perf db-export: No need to have ->thread twice in struct export_sample
As it comes from address_location->thread, that is already stored as export_sample->al, where the thread can be obtained. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Borislav Petkov <bp@suse.de> Cc: David Ahern <dsahern@gmail.com> Cc: Don Zickus <dzickus@redhat.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/r/20150402141542.GA9630@kernel.org Link: http://lkml.kernel.org/n/tip-bzotbl4epoztw0jd6sm2stpf@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/db-export.h')
-rw-r--r--tools/perf/util/db-export.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/perf/util/db-export.h b/tools/perf/util/db-export.h
index b9faa1386cf4..25e22fd76aca 100644
--- a/tools/perf/util/db-export.h
+++ b/tools/perf/util/db-export.h
@@ -34,7 +34,6 @@ struct export_sample {
union perf_event *event;
struct perf_sample *sample;
struct perf_evsel *evsel;
- struct thread *thread;
struct addr_location *al;
u64 db_id;
u64 comm_db_id;