summaryrefslogtreecommitdiffstats
path: root/tools/perf/trace/beauty/pid.c
diff options
context:
space:
mode:
authorMark Brown2017-09-19 15:12:47 +0200
committerMark Brown2017-09-19 15:12:47 +0200
commite9331ee9b164d58b4dd0abc882ba7e23d2f404b3 (patch)
tree903d078e53a59ed65708193f2486ad0b9a8109d8 /tools/perf/trace/beauty/pid.c
parentASoC: rockchip: Add dapm route for HDMI (diff)
parentLinux 4.14-rc1 (diff)
downloadkernel-qcow2-linux-e9331ee9b164d58b4dd0abc882ba7e23d2f404b3.tar.gz
kernel-qcow2-linux-e9331ee9b164d58b4dd0abc882ba7e23d2f404b3.tar.xz
kernel-qcow2-linux-e9331ee9b164d58b4dd0abc882ba7e23d2f404b3.zip
Merge tag 'v4.14-rc1' into asoc-rockchip
Linux 4.14-rc1
Diffstat (limited to 'tools/perf/trace/beauty/pid.c')
-rw-r--r--tools/perf/trace/beauty/pid.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/perf/trace/beauty/pid.c b/tools/perf/trace/beauty/pid.c
index 07486ea65ae3..b6d419e16dcf 100644
--- a/tools/perf/trace/beauty/pid.c
+++ b/tools/perf/trace/beauty/pid.c
@@ -1,4 +1,4 @@
-static size_t syscall_arg__scnprintf_pid(char *bf, size_t size, struct syscall_arg *arg)
+size_t syscall_arg__scnprintf_pid(char *bf, size_t size, struct syscall_arg *arg)
{
int pid = arg->val;
struct trace *trace = arg->trace;
@@ -17,5 +17,3 @@ static size_t syscall_arg__scnprintf_pid(char *bf, size_t size, struct syscall_a
return printed;
}
-
-#define SCA_PID syscall_arg__scnprintf_pid