From 58a98c9cc583435784a93f23754128363b4cca94 Mon Sep 17 00:00:00 2001 From: Adrian Hunter Date: Tue, 10 Dec 2013 11:11:46 -0300 Subject: [PATCH] perf symbols: Remove open coded management of short_name_allocated member Instead of expecting callers to set this member accodingly so that later at dso destruction it can, if needed, be correctly free()d, make it a requirement by passing it as a parameter to dso__set_short_name. Cc: Andi Kleen Cc: David Ahern Cc: Dongsheng Yang Cc: Frederic Weisbecker CC: Ingo Molnar Cc: Jiri Olsa Cc: Mike Galbraith Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Steven Rostedt Signed-off-by: Adrian Hunter Link: http://lkml.kernel.org/r/52A707A2.5020802@intel.com [ Renamed the 'allocated' parameter to clearly indicate to which variable it refers to. ] Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-format-patch failed