Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf tools: Reset output/sort order to default

When reset_output_field() is called, also reset field/sort order to
NULL so that it can have the default values. It's needed for testing.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
CC: Arun Sharma <asharma@fb.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Link: http://lkml.kernel.org/r/1401335910-16832-26-git-send-email-namhyung@kernel.org
Signed-off-by: Jiri Olsa <jolsa@kernel.org>

authored by

Namhyung Kim and committed by
Jiri Olsa
d69b2962 e4cf6f88

+3
+3
tools/perf/util/sort.c
··· 1582 1582 sort__has_sym = 0; 1583 1583 sort__has_dso = 0; 1584 1584 1585 + field_order = NULL; 1586 + sort_order = NULL; 1587 + 1585 1588 reset_dimensions(); 1586 1589 perf_hpp__reset_output_field(); 1587 1590 }