OSDN Git Service

perf beauty: Introduce strarray__scnprintf_flags()
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 25 Oct 2018 17:21:31 +0000 (14:21 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 30 Oct 2018 14:46:23 +0000 (11:46 -0300)
commit579e5ff629b17744f62473f314768de8b6f1e66c
treeb87465a92e71f447639096eb2b38e72e9e0fa12e
parent794f594e0c3be6199e0b3e2324280e8785806fb6
perf beauty: Introduce strarray__scnprintf_flags()

Generalizing pkey_alloc__scnprintf_access_rights(), so that we can use
it with other flags-like arguments, such as mount's mountflags argument.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Benjamin Peterson <benjamin@python.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: https://lkml.kernel.org/n/tip-o3ymi3104m8moaz9865g09w9@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/trace/beauty/beauty.h
tools/perf/trace/beauty/pkey_alloc.c