tools lib traceevent: Support %ps/%pS
authorScott Wood <scottwood@freescale.com>
Mon, 31 Aug 2015 21:16:37 +0000 (16:16 -0500)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 22 Oct 2015 18:39:42 +0000 (15:39 -0300)
commitb6bd9c7d543ac160646a667470158c5da319a85c
tree5fb63c46c53d505dea07c398074d3eaad8bcd518
parent4ba792e303e278052bb0ee60cce15d6d7dc15c7c
tools lib traceevent: Support %ps/%pS

Commits such as 65dd297ac25565 ("xfs: %pF is only for function
pointers") caused a regression because pretty_print() didn't support
%ps/%pS.  The current %pf/%pF implementation in pretty_print() is what
%ps/%pS is supposed to do, so use the same code for %ps/%pS.

Addressing the incorrect %pf/%pF implementation is beyond the scope of
this patch.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Dave Chinner <david@fromorbit.com>
Link: http://lkml.kernel.org/r/20150831211637.GA12848@home.buserror.net
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/traceevent/event-parse.c