summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-sched.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-10-15 08:44:42 +0200
committerIngo Molnar <mingo@elte.hu>2009-10-15 08:44:44 +0200
commitb226f744d40b052ac126c4cb16c76f66e5185128 (patch)
treee86f5c059dde241472689cbe2d55429cd15b2d56 /tools/perf/builtin-sched.c
parentd5b889f2ecec7849e851ddd31c34bdfb3482b5de (diff)
parenta3ccf63ee643ef243cbf8918da8b3f9238f10029 (diff)
downloadop-kernel-dev-b226f744d40b052ac126c4cb16c76f66e5185128.zip
op-kernel-dev-b226f744d40b052ac126c4cb16c76f66e5185128.tar.gz
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c
index 73bdad0..c9c6856 100644
--- a/tools/perf/builtin-sched.c
+++ b/tools/perf/builtin-sched.c
@@ -1352,7 +1352,7 @@ static struct sort_dimension *available_sorts[] = {
static LIST_HEAD(sort_list);
-static int sort_dimension__add(char *tok, struct list_head *list)
+static int sort_dimension__add(const char *tok, struct list_head *list)
{
int i;
@@ -1896,7 +1896,7 @@ static void setup_sorting(void)
free(str);
- sort_dimension__add((char *)"pid", &cmp_pid);
+ sort_dimension__add("pid", &cmp_pid);
}
static const char *record_args[] = {
OpenPOWER on IntegriCloud