diff options
author | Changbin Du <changbin.du@intel.com> | 2018-03-06 04:37:36 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-03-07 14:22:26 +0100 |
commit | 8640da9f4fea88c8fbb44ff63fde4000203cb7d1 (patch) | |
tree | 31429a8e3ff5df89e82db079284e04497cd876f2 /tools/perf/util/thread.h | |
parent | perf cgroup: Introduce cgroup__new() out of open coded equivalent (diff) | |
download | linux-8640da9f4fea88c8fbb44ff63fde4000203cb7d1.tar.xz 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.h | 1 |
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 */ |