]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Fix comment for sort__* compare functions
authorJiri Olsa <jolsa@kernel.org>
Tue, 6 Feb 2018 18:18:13 +0000 (19:18 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 16 Feb 2018 13:09:23 +0000 (10:09 -0300)
commite7c33f4f4318873216298f59cbdeb6935998f435
tree6244d99a349d8e7d7348b77d707c926a66df94e9
parentbb53918685211cadf537f794659b02df9de4f94a
perf tools: Fix comment for sort__* compare functions

In commit 69c9830c7949 ("perf tools: Fix "Command" sort_entry's cmp and
collapse function") we switched from pointer to string comparison.

But failed to remove related comments. Removing them and adding another
one to warn before pointer comparison in here.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20180206181813.10943-18-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/sort.c