]> git.baikalelectronics.ru Git - kernel.git/commit
perf kmem: Perform some cleanup if '--time' is given an invalid value
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 16 Sep 2017 06:09:36 +0000 (08:09 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 23 Oct 2017 19:30:53 +0000 (16:30 -0300)
commitc7ce2a22661afb7f0f3b1adb34a452950b57c4bc
treeb650728be5129fad31b902b5122a50cc224a9537
parent5b6533aedfa3064dd80c46fee32f16fc650508ab
perf kmem: Perform some cleanup if '--time' is given an invalid value

If the string passed in '--time' is invalid, we must do some cleanup
before leaving. As in the other error handling paths of this function.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: kernel-janitors@vger.kernel.org
Fixes: 28b5e6c5232f ("perf kmem: Add option to specify time window of interest")
Link: http://lkml.kernel.org/r/20170916060936.28199-1-christophe.jaillet@wanadoo.fr
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-kmem.c