diff options
author | Adrian Hunter <[email protected]> | 2013-12-10 11:11:46 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2013-12-10 16:51:08 -0300 |
commit | 58a98c9cc583435784a93f23754128363b4cca94 (patch) | |
tree | 3f964185b5eff066917e9b6b259a76894babe143 /lib/string_helpers.c | |
parent | 7521ab592550d9e6542a496bcea11b40900690da (diff) |
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 <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Dongsheng Yang <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
CC: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Steven Rostedt <[email protected]>
Signed-off-by: Adrian Hunter <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
[ Renamed the 'allocated' parameter to clearly indicate to which variable it refers to. ]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions