diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-03-24 16:08:46 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-06-18 10:17:17 -0300 |
commit | 27d4d336f2872193e90ee5450559e1699fae0f6d (patch) | |
tree | 5c3ea04a9a8b735ce5e75eac811e0cd7dd98b3b2 /mm/slab.h | |
parent | 0e093c77c5b0dc0d8cbe123a84c944aa8bf0b878 (diff) | |
download | linux-27d4d336f2872193e90ee5450559e1699fae0f6d.tar.bz2 |
tools lib traceevent: Add append() function helper for appending strings
There's several locations that open code realloc and strcat() to append
text to strings. Add an append() function that takes a delimiter and a
string to append to another string.
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Jaewon Lim <jaewon31.kim@samsung.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Kees Kook <keescook@chromium.org>
Cc: linux-mm@kvack.org
Cc: linux-trace-devel@vger.kernel.org
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Vlastimil Babka <vbabka@suse.cz>
Link: http://lore.kernel.org/lkml/20200324200956.515118403@goodmis.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'mm/slab.h')
0 files changed, 0 insertions, 0 deletions