diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-10-15 02:44:42 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-10-15 02:44:44 -0400 |
commit | b226f744d40b052ac126c4cb16c76f66e5185128 (patch) | |
tree | e86f5c059dde241472689cbe2d55429cd15b2d56 /tools/perf/builtin-sched.c | |
parent | d5b889f2ecec7849e851ddd31c34bdfb3482b5de (diff) | |
parent | a3ccf63ee643ef243cbf8918da8b3f9238f10029 (diff) |
Merge branch 'linus' into perf/core
Merge reason: pick up tools/perf/ changes from upstream.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/builtin-sched.c')
-rw-r--r-- | tools/perf/builtin-sched.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c index 73bdad029730..c9c68563e964 100644 --- a/tools/perf/builtin-sched.c +++ b/tools/perf/builtin-sched.c | |||
@@ -1352,7 +1352,7 @@ static struct sort_dimension *available_sorts[] = { | |||
1352 | 1352 | ||
1353 | static LIST_HEAD(sort_list); | 1353 | static LIST_HEAD(sort_list); |
1354 | 1354 | ||
1355 | static int sort_dimension__add(char *tok, struct list_head *list) | 1355 | static int sort_dimension__add(const char *tok, struct list_head *list) |
1356 | { | 1356 | { |
1357 | int i; | 1357 | int i; |
1358 | 1358 | ||
@@ -1896,7 +1896,7 @@ static void setup_sorting(void) | |||
1896 | 1896 | ||
1897 | free(str); | 1897 | free(str); |
1898 | 1898 | ||
1899 | sort_dimension__add((char *)"pid", &cmp_pid); | 1899 | sort_dimension__add("pid", &cmp_pid); |
1900 | } | 1900 | } |
1901 | 1901 | ||
1902 | static const char *record_args[] = { | 1902 | static const char *record_args[] = { |