summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/thread.h
diff options
context:
space:
mode:
authorChangbin Du <changbin.du@intel.com>2018-03-06 11:37:36 +0800
committerArnaldo Carvalho de Melo <acme@redhat.com>2018-03-07 10:22:26 -0300
commit8640da9f4fea88c8fbb44ff63fde4000203cb7d1 (patch)
tree31429a8e3ff5df89e82db079284e04497cd876f2 /tools/perf/util/thread.h
parent923a0fb332f8ee49b063df07129b2686f78ec9c3 (diff)
downloadblackbird-op-linux-8640da9f4fea88c8fbb44ff63fde4000203cb7d1.tar.gz
blackbird-op-linux-8640da9f4fea88c8fbb44ff63fde4000203cb7d1.zip
perf sched: Move thread::shortname to thread_runtime
The thread::shortname only used by sched command, so move it to sched private structure. Signed-off-by: Changbin Du <changbin.du@intel.com> Acked-by: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/1520307457-23668-2-git-send-email-changbin.du@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/thread.h')
-rw-r--r--tools/perf/util/thread.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/perf/util/thread.h b/tools/perf/util/thread.h
index 40cfa36c022a..14d44c3235b8 100644
--- a/tools/perf/util/thread.h
+++ b/tools/perf/util/thread.h
@@ -26,7 +26,6 @@ struct thread {
pid_t ppid;
int cpu;
refcount_t refcnt;
- char shortname[3];
bool comm_set;
int comm_len;
bool dead; /* if set thread has exited */
OpenPOWER on IntegriCloud