perf tools: Reset output/sort order to default
authorNamhyung Kim <namhyung@kernel.org>
Fri, 23 May 2014 01:59:01 +0000 (10:59 +0900)
committerJiri Olsa <jolsa@kernel.org>
Sun, 1 Jun 2014 12:35:10 +0000 (14:35 +0200)
commitd69b2962a0aebd431cdda939f4418dd606e2f77e
tree1454f2ab8e9ac6ede409119dff3450543d92f6db
parente4cf6f886f3158061fb589df9ed452f9b30f67f1
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>
tools/perf/util/sort.c