summaryrefslogtreecommitdiffstats
path: root/Documentation/power
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <rostedt@goodmis.org>2020-03-24 16:08:46 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2020-06-18 10:17:17 -0300
commit27d4d336f2872193e90ee5450559e1699fae0f6d (patch)
tree5c3ea04a9a8b735ce5e75eac811e0cd7dd98b3b2 /Documentation/power
parent0e093c77c5b0dc0d8cbe123a84c944aa8bf0b878 (diff)
downloadlinux-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 'Documentation/power')
0 files changed, 0 insertions, 0 deletions