]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
perf string: Add {strdup,strpbrk}_esc()
authorMasami Hiramatsu <mhiramat@kernel.org>
Fri, 8 Dec 2017 16:28:41 +0000 (01:28 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 27 Dec 2017 15:15:55 +0000 (12:15 -0300)
commit1e9f9e8af0de80e8f6a47d991df66090934be0c6
treee433752cf8555c3723024f669620f743e934b6b1
parent4b3a2716dd785fabb9f6ac80c1d53cb29a88169d
perf string: Add {strdup,strpbrk}_esc()

To support the special characters escaped by '\' in 'perf probe' event parser.

Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Reviewed-by: Thomas Richter <tmricht@linux.vnet.ibm.com>
Acked-by: Ravi Bangoria <ravi.bangoria@linux.vnet.ibm.com>
Cc: Paul Clarke <pc@us.ibm.com>
Cc: bhargavb <bhargavaramudu@gmail.com>
Cc: linux-rt-users@vger.kernel.org
Link: http://lkml.kernel.org/r/151275052163.24652.18205979384585484358.stgit@devbox
[ Split from a larger patch ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/string.c
tools/perf/util/string2.h