Home
last modified time | relevance | path

Searched refs:nl (Results 1 – 2 of 2) sorted by relevance

/tools/perf/config/
Dutilities.mak8 # nl-escape
10 # Usage: escape = $(call nl-escape[,escape])
16 nl-escape = $(if $(1),$(1),m822df3020w6a44id34bt574ctac44eb9f4n)
18 # escape-nl
20 # Usage: escaped-text = $(call escape-nl,text[,escape])
30 # $(call unescape-nl...)
32 escape-nl = $(subst $(newline),$(call nl-escape,$(2)),$(1))
34 # unescape-nl
36 # Usage: text = $(call unescape-nl,escaped-text[,escape])
38 # See escape-nl.
[all …]
/tools/perf/util/
Dsort.c251 char cmd[PATH_MAX + 2], *path = self->srcline, *nl; in hist_entry__srcline_snprintf() local
275 nl = strchr(self->srcline, '\n'); in hist_entry__srcline_snprintf()
276 if (nl != NULL) in hist_entry__srcline_snprintf()
277 *nl = '\0'; in hist_entry__srcline_snprintf()