diff options
| author | Ingo Molnar <mingo@kernel.org> | 2012-04-13 03:50:21 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2012-04-13 03:50:21 -0400 |
| commit | 659c36fcda403013a01b85da07cf2d9711e6d6c7 (patch) | |
| tree | ece2e7d0e2c19ea5a3d0ec172ad0b81a8a19021d /include/linux/init_task.h | |
| parent | 9521d830b6341d1887dcfc2aebde23fbfa5f1473 (diff) | |
| parent | 5a7ed29c7572d00a75e8c4529e30c5ac2ef82271 (diff) | |
Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
Fixes and improvements for perf/core:
. Overhaul the tools/ makefiles, gluing them to the top level Makefile, from
Borislav Petkov.
. Move the UI files from tools/perf/util/ui/ to tools/perf/ui/. Also move
the GTK+ browser to tools/perf/ui/gtk/, from Namhyung Kim.
. Only fallback to sw cycles counter on ENOENT for the hw cycles, from
Robert Richter
. Trivial fixes from Robert Richter
. Handle the autogenerated bison/flex files better, from Namhyung and Jiri Olsa.
. Navigate jump instructions in the annotate browser, just press enter or ->,
still needs support for a jump navigation history, i.e. to go back.
. Search string in the annotate browser: same keys as vim:
/ forward
n next backward/forward
? backward
. Clarify number of events/samples in the report header, from Ashay Rane
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/init_task.h')
| -rw-r--r-- | include/linux/init_task.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/linux/init_task.h b/include/linux/init_task.h index 9c66b1ada9d7..e4baff5f7ff4 100644 --- a/include/linux/init_task.h +++ b/include/linux/init_task.h | |||
| @@ -29,6 +29,13 @@ extern struct fs_struct init_fs; | |||
| 29 | #define INIT_GROUP_RWSEM(sig) | 29 | #define INIT_GROUP_RWSEM(sig) |
| 30 | #endif | 30 | #endif |
| 31 | 31 | ||
| 32 | #ifdef CONFIG_CPUSETS | ||
| 33 | #define INIT_CPUSET_SEQ \ | ||
| 34 | .mems_allowed_seq = SEQCNT_ZERO, | ||
| 35 | #else | ||
| 36 | #define INIT_CPUSET_SEQ | ||
| 37 | #endif | ||
| 38 | |||
| 32 | #define INIT_SIGNALS(sig) { \ | 39 | #define INIT_SIGNALS(sig) { \ |
| 33 | .nr_threads = 1, \ | 40 | .nr_threads = 1, \ |
| 34 | .wait_chldexit = __WAIT_QUEUE_HEAD_INITIALIZER(sig.wait_chldexit),\ | 41 | .wait_chldexit = __WAIT_QUEUE_HEAD_INITIALIZER(sig.wait_chldexit),\ |
| @@ -149,7 +156,7 @@ extern struct cred init_cred; | |||
| 149 | }, \ | 156 | }, \ |
| 150 | .rt = { \ | 157 | .rt = { \ |
| 151 | .run_list = LIST_HEAD_INIT(tsk.rt.run_list), \ | 158 | .run_list = LIST_HEAD_INIT(tsk.rt.run_list), \ |
| 152 | .time_slice = HZ, \ | 159 | .time_slice = RR_TIMESLICE, \ |
| 153 | .nr_cpus_allowed = NR_CPUS, \ | 160 | .nr_cpus_allowed = NR_CPUS, \ |
| 154 | }, \ | 161 | }, \ |
| 155 | .tasks = LIST_HEAD_INIT(tsk.tasks), \ | 162 | .tasks = LIST_HEAD_INIT(tsk.tasks), \ |
| @@ -192,6 +199,7 @@ extern struct cred init_cred; | |||
| 192 | INIT_FTRACE_GRAPH \ | 199 | INIT_FTRACE_GRAPH \ |
| 193 | INIT_TRACE_RECURSION \ | 200 | INIT_TRACE_RECURSION \ |
| 194 | INIT_TASK_RCU_PREEMPT(tsk) \ | 201 | INIT_TASK_RCU_PREEMPT(tsk) \ |
| 202 | INIT_CPUSET_SEQ \ | ||
| 195 | } | 203 | } |
| 196 | 204 | ||
| 197 | 205 | ||
