diff options
author | Irina Tirdea <irina.tirdea@intel.com> | 2012-09-20 23:37:50 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-09-24 11:49:31 -0300 |
commit | bcbd004020bf0d725722be75da35fd326ff63ef4 (patch) | |
tree | 82510369c7a6583b40a7d81d2ff4bbab6f835804 /tools/perf/Documentation/perf-stat.txt | |
parent | 37e9d750e672d6fa8c25463bd76240410bbbc786 (diff) | |
download | blackbird-op-linux-bcbd004020bf0d725722be75da35fd326ff63ef4.tar.gz blackbird-op-linux-bcbd004020bf0d725722be75da35fd326ff63ef4.zip |
perf tools: remove sscanf extension %as
perf uses sscanf extension %as to read and allocate a string in the same
step. This is a non-standard extension only present in new versions of
glibc.
Replacing the use of sscanf and %as with strtok_r calls in order to
parse a given string into its components. This is needed in Android
since bionic does not support
%as extension for sscanf.
Reviewed-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Tested-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Signed-off-by: Irina Tirdea <irina.tirdea@intel.com>
Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/1348173470-4936-1-git-send-email-irina.tirdea@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/Documentation/perf-stat.txt')
0 files changed, 0 insertions, 0 deletions