]> 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)
commit5ebb649dde0b106685d859240f1c064c49b99e5a
tree6244d99a349d8e7d7348b77d707c926a66df94e9
parent8402426e7278d339db624b9fba132610020f3ce9
perf tools: Fix comment for sort__* compare functions

In commit 9bc9cd94170d ("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