Skip to content
  1. Oct 24, 2017
    • Arnaldo Carvalho de Melo's avatar
      perf tools: Introduce binary__fprintf() · 923d0c9a
      Arnaldo Carvalho de Melo authored
      
      
      Out of print_binary() but receiving a fp pointer and expecting that the
      printer be a fprintf like function, i.e. receive a FILE pointer and
      return the number of characters printed.
      
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: David Ahern <dsahern@gmail.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Wang Nan <wangnan0@huawei.com>
      Cc: yuzhoujian <yuzhoujian@didichuxing.com>
      Link: http://lkml.kernel.org/n/tip-6oqnxr6lmgqe6q6p3iugnscx@git.kernel.org
      Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      923d0c9a
    • Andi Kleen's avatar
      perf vendor events: Fix incorrect cmask syntax for some Intel metrics · 7958e541
      Andi Kleen authored
      
      
      Some of the metrics use an incorrect syntax for specifying the cmask for
      an event. Convert to perf syntax so that they can be resolved.
      
      Fixes metrics on Broadwell, SandyBridge.
      
      Signed-off-by: default avatarAndi Kleen <ak@linux.intel.com>
      Link: http://lkml.kernel.org/n/tip-3k3fkfj8obek9dkmryyrqzhu@git.kernel.org
      Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      7958e541
    • Arnaldo Carvalho de Melo's avatar
      perf tools: Do not check ABI headers in a detached tarball build · d7e05cea
      Arnaldo Carvalho de Melo authored
      
      
      When we use one of:
      
        [acme@jouet linux]$ make help | grep perf
          perf-tar-src-pkg    - Build perf-4.14.0-rc3.tar source tarball
          perf-targz-src-pkg  - Build perf-4.14.0-rc3.tar.gz source tarball
          perf-tarbz2-src-pkg - Build perf-4.14.0-rc3.tar.bz2 source tarball
          perf-tarxz-src-pkg  - Build perf-4.14.0-rc3.tar.xz source tarball
        [acme@jouet linux]$
      
      I.e. when we create a detached tarball to build perf outside outside the
      enveloping kernel sources (from a kernel tarball or a checked out
      linux.git directory) we by definition can't check for differences among
      the tools/{include,arch}, etc files we originally copied from the
      kernel, so bail out in that case, to avoid warnings when doing the
      detached builds.
      
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      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: http://lkml.kernel.org/n/tip-vbrga0mhplv7niwxr3ghjyxv@git.kernel.org
      Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      d7e05cea
  2. Oct 23, 2017
  3. Oct 20, 2017
    • Masami Hiramatsu's avatar
      kprobes/docs: Remove jprobes related documents · 9b17374e
      Masami Hiramatsu authored
      
      
      Remove jprobes related documentation from kprobes.txt.
      
      Also add some migration advice for the people who are
      still using jprobes.
      
      Signed-off-by: default avatarMasami Hiramatsu <mhiramat@kernel.org>
      Cc: Alexei Starovoitov <ast@kernel.org>
      Cc: Ananth N Mavinakayanahalli <ananth@linux.vnet.ibm.com>
      Cc: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
      Cc: David S . Miller <davem@davemloft.net>
      Cc: Ian McDonald <ian.mcdonald@jandi.co.nz>
      Cc: Kees Cook <keescook@chromium.org>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Paul E . McKenney <paulmck@linux.vnet.ibm.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Stephen Hemminger <stephen@networkplumber.org>
      Cc: Steven Rostedt <rostedt@goodmis.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Vlad Yasevich <vyasevich@gmail.com>
      Link: http://lkml.kernel.org/r/150724539698.5014.7300022363980503141.stgit@devbox
      [ Fixes to the new documentation. ]
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      9b17374e
    • Masami Hiramatsu's avatar
      kprobes: Remove the jprobes sample code · 9be95bdc
      Masami Hiramatsu authored
      
      
      Remove the jprobes sample module because jprobes are deprecated.
      
      Signed-off-by: default avatarMasami Hiramatsu <mhiramat@kernel.org>
      Cc: Alexei Starovoitov <ast@kernel.org>
      Cc: Ananth N Mavinakayanahalli <ananth@linux.vnet.ibm.com>
      Cc: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
      Cc: David S . Miller <davem@davemloft.net>
      Cc: Ian McDonald <ian.mcdonald@jandi.co.nz>
      Cc: Kees Cook <keescook@chromium.org>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Paul E . McKenney <paulmck@linux.vnet.ibm.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Stephen Hemminger <stephen@networkplumber.org>
      Cc: Steven Rostedt <rostedt@goodmis.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Vlad Yasevich <vyasevich@gmail.com>
      Link: http://lkml.kernel.org/r/150724535709.5014.7261513316230565780.stgit@devbox
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      9be95bdc
    • Masami Hiramatsu's avatar
      kprobes: Disable the jprobes test code · 2c7d662e
      Masami Hiramatsu authored
      
      
      Disable jprobes test code because jprobes are deprecated.
      This code will be completely removed when the jprobe code
      is removed.
      
      Signed-off-by: default avatarMasami Hiramatsu <mhiramat@kernel.org>
      Cc: Alexei Starovoitov <ast@kernel.org>
      Cc: Ananth N Mavinakayanahalli <ananth@linux.vnet.ibm.com>
      Cc: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
      Cc: David S . Miller <davem@davemloft.net>
      Cc: Ian McDonald <ian.mcdonald@jandi.co.nz>
      Cc: Kees Cook <keescook@chromium.org>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Paul E . McKenney <paulmck@linux.vnet.ibm.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Stephen Hemminger <stephen@networkplumber.org>
      Cc: Steven Rostedt <rostedt@goodmis.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Vlad Yasevich <vyasevich@gmail.com>
      Link: http://lkml.kernel.org/r/150724531730.5014.6377596890962355763.stgit@devbox
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      2c7d662e
    • Masami Hiramatsu's avatar
      kprobes: Disable the jprobes APIs · 590c8459
      Masami Hiramatsu authored
      
      
      Disable the jprobes APIs and comment out the jprobes API function
      code. This is in preparation of removing all jprobes related
      code (including kprobe's break_handler).
      
      Nowadays ftrace and other tracing features are mature enough
      to replace jprobes use-cases. Users can safely use ftrace and
      perf probe etc. for their use cases.
      
      Signed-off-by: default avatarMasami Hiramatsu <mhiramat@kernel.org>
      Cc: Alexei Starovoitov <ast@kernel.org>
      Cc: Ananth N Mavinakayanahalli <ananth@linux.vnet.ibm.com>
      Cc: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
      Cc: David S . Miller <davem@davemloft.net>
      Cc: Ian McDonald <ian.mcdonald@jandi.co.nz>
      Cc: Kees Cook <keescook@chromium.org>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Paul E . McKenney <paulmck@linux.vnet.ibm.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Stephen Hemminger <stephen@networkplumber.org>
      Cc: Steven Rostedt <rostedt@goodmis.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Vlad Yasevich <vyasevich@gmail.com>
      Link: http://lkml.kernel.org/r/150724527741.5014.15465541485637899227.stgit@devbox
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      590c8459
    • Ingo Molnar's avatar
    • Masami Hiramatsu's avatar
      kprobes: Use synchronize_rcu_tasks() for optprobe with CONFIG_PREEMPT=y · a30b85df
      Masami Hiramatsu authored
      
      
      We want to wait for all potentially preempted kprobes trampoline
      execution to have completed. This guarantees that any freed
      trampoline memory is not in use by any task in the system anymore.
      synchronize_rcu_tasks() gives such a guarantee, so use it.
      
      Also, this guarantees to wait for all potentially preempted tasks
      on the instructions which will be replaced with a jump.
      
      Since this becomes a problem only when CONFIG_PREEMPT=y, enable
      CONFIG_TASKS_RCU=y for synchronize_rcu_tasks() in that case.
      
      Signed-off-by: default avatarMasami Hiramatsu <mhiramat@kernel.org>
      Acked-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
      Cc: Ananth N Mavinakayanahalli <ananth@linux.vnet.ibm.com>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Naveen N . Rao <naveen.n.rao@linux.vnet.ibm.com>
      Cc: Paul E . McKenney <paulmck@linux.vnet.ibm.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Steven Rostedt <rostedt@goodmis.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Link: http://lkml.kernel.org/r/150845661962.5443.17724352636247312231.stgit@devbox
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      a30b85df
    • Ingo Molnar's avatar
      Merge tag 'perf-urgent-for-mingo-4.14-20171019' of... · 275d34b8
      Ingo Molnar authored
      
      Merge tag 'perf-urgent-for-mingo-4.14-20171019' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent
      
      Pull perf/urgent fixes from Arnaldo Carvalho de Melo:
      
      - Fix crash in perf_hpp__reset_output_field() (Jiri Olsa)
      
      - Fix eBPF file/vendor events ambiguity in event specification (Jiri Olsa)
      
      - Fix closing evsel fd in 'perf stat' (Jin Yao)
      
      - Make perf test shell trace+probe_libc_inet_pton.sh pass in Debian/Ubuntu (Li Zhijian)
      
      - Fix 'perf buildid-list --with-hits' crash when processing PERF_RECORD_NAMESPACE (Namhyung Kim)
      
      - Fix documentation for an inexistent option 'perf record -l' (Taeung Song)
      
      - Add long time reviewers to MAINTAINERS (Arnaldo Carvalho de Melo)
      
      Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      275d34b8
    • Linus Torvalds's avatar
      Merge tag 'pm-4.14-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · ce43f4fd
      Linus Torvalds authored
      Pull power management fix from Rafael Wysocki:
       "This reverts a problematic commit modifying the turbostat utility that
        went in during the 4.13 cycle (Len Brown)"
      
      * tag 'pm-4.14-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        Revert "tools/power turbostat: stop migrating, unless '-m'"
      ce43f4fd
    • Paul E. McKenney's avatar
      doc: Fix various RCU docbook comment-header problems · 27fdb35f
      Paul E. McKenney authored
      
      
      Because many of RCU's files have not been included into docbook, a
      number of errors have accumulated.  This commit fixes them.
      
      Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      27fdb35f
    • Paul E. McKenney's avatar
      doc: Fix RCU's docbook options · 533966c8
      Paul E. McKenney authored
      Commit 764f8079
      
       ("doc: Add RCU files to docbook-generation files")
      added :external: options for RCU source files in the file
      Documentation/core-api/kernel-api.rst.  However, this now means nothing,
      so this commit removes them.
      
      Reported-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Reported-by: default avatarAkira Yokosawa <akiyks@gmail.com>
      Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      533966c8
    • Mathieu Desnoyers's avatar
      membarrier: Provide register expedited private command · a961e409
      Mathieu Desnoyers authored
      
      
      This introduces a "register private expedited" membarrier command which
      allows eventual removal of important memory barrier constraints on the
      scheduler fast-paths. It changes how the "private expedited" membarrier
      command (new to 4.14) is used from user-space.
      
      This new command allows processes to register their intent to use the
      private expedited command.  This affects how the expedited private
      command introduced in 4.14-rc is meant to be used, and should be merged
      before 4.14 final.
      
      Processes are now required to register before using
      MEMBARRIER_CMD_PRIVATE_EXPEDITED, otherwise that command returns EPERM.
      
      This fixes a problem that arose when designing requested extensions to
      sys_membarrier() to allow JITs to efficiently flush old code from
      instruction caches.  Several potential algorithms are much less painful
      if the user register intent to use this functionality early on, for
      example, before the process spawns the second thread.  Registering at
      this time removes the need to interrupt each and every thread in that
      process at the first expedited sys_membarrier() system call.
      
      Signed-off-by: default avatarMathieu Desnoyers <mathieu.desnoyers@efficios.com>
      Acked-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Alexander Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      a961e409
    • Linus Torvalds's avatar
      Merge branch 'parisc-4.14-3' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux · 96f893ab
      Linus Torvalds authored
      Pull parisc fixes from Helge Deller:
       "Three small important fixes for the parisc architecture:
      
         - Export __cmpxchg_u64() symbol on 32bit kernel too. This unbreaks
           building the kernel with ixgbe kernel module. From Guenter Roeck.
      
         - Fix 64-bit atomic cmpxchg kernel helper function for 32-bit kernel
           in LWS code for userspace. This unbreaks e.g. the 64-bit variant of
           the glibc function __sync_fetch_and_add() with a 32-bit parisc
           kernel. From John David Anglin, tagged for backport to v3.13+.
      
         - Detect nonsynchronous CPU-internal cr16 cycle counters more
           reliable. This avoids stalled CPU warnings by the kernel soft
           lockup detector. From me, tagged for backport to v4.13+"
      
      * 'parisc-4.14-3' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux:
        parisc: Fix detection of nonsynchronous cr16 cycle counters
        parisc: Export __cmpxchg_u64 unconditionally
        parisc: Fix double-word compare and exchange in LWS code on 32-bit kernels
      96f893ab
    • Linus Torvalds's avatar
      Merge tag 'sound-4.14-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · 962556b5
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       "We've got slightly more fixes than wished, but heading to a good
        shape. Most of changes are about HD-audio fixes, one for a buggy code
        that went into 4.13, and another for avoiding a crash due to buggy
        BIOS.
      
        Apart from HD-audio, a sequencer core change that is only for UP
        config (which must be pretty rare nowadays), and a USB-audio quirk as
        usual"
      
      * tag 'sound-4.14-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
        ALSA: hda - Fix incorrect TLV callback check introduced during set_fs() removal
        ALSA: hda: Remove superfluous '-' added by printk conversion
        ALSA: hda: Abort capability probe at invalid register read
        ALSA: seq: Enable 'use' locking in all configurations
        ALSA: usb-audio: Add native DSD support for Pro-Ject Pre Box S2 Digital
      962556b5
  4. Oct 19, 2017
    • Helge Deller's avatar
      parisc: Fix detection of nonsynchronous cr16 cycle counters · 8642b31b
      Helge Deller authored
      
      
      For CPUs which have an unknown or invalid CPU location (physical location)
      assume that their cycle counters aren't syncronized across CPUs.
      
      Signed-off-by: default avatarHelge Deller <deller@gmx.de>
      Fixes: c8c37359
      
       ("parisc: Enhance detection of synchronous cr16 clocksources")
      Cc: stable@vger.kernel.org # 4.13+
      Signed-off-by: default avatarHelge Deller <deller@gmx.de>
      8642b31b
    • Guenter Roeck's avatar
      parisc: Export __cmpxchg_u64 unconditionally · 2aae008c
      Guenter Roeck authored
      
      
      __cmpxchg_u64 is built and used outside CONFIG_64BIT and thus needs to
      be exported. This fixes the following build error seen when building
      parisc:allmodconfig.
      
      ERROR: "__cmpxchg_u64" [drivers/net/ethernet/intel/i40e/i40e.ko] undefined!
      
      Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: default avatarHelge Deller <deller@gmx.de>
      2aae008c
    • John David Anglin's avatar
      parisc: Fix double-word compare and exchange in LWS code on 32-bit kernels · 374b3bf8
      John David Anglin authored
      As discussed on the debian-hppa list, double-wordcompare and exchange
      operations fail on 32-bit kernels.  Looking at the code, I realized that
      the ",ma" completer does the wrong thing in the  "ldw,ma  4(%r26), %r29"
      instruction.  This increments %r26 and causes the following store to
      write to the wrong location.
      
      Note by Helge Deller:
      The patch applies cleanly to stable kernel series if this upstream
      commit is merged in advance:
      f4125cfd
      
       ("parisc: Avoid trashing sr2 and sr3 in LWS code").
      
      Signed-off-by: default avatarJohn David Anglin <dave.anglin@bell.net>
      Tested-by: default avatarChristoph Biedl <debian.axhn@manchmal.in-ulm.de>
      Fixes: 89206491
      
       ("parisc: Implement new LWS CAS supporting 64 bit operations.")
      Cc: stable@vger.kernel.org # 3.13+
      Signed-off-by: default avatarHelge Deller <deller@gmx.de>
      374b3bf8
    • Linus Torvalds's avatar
      Merge tag 'xfs-4.14-fixes-6' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux · 73d3393a
      Linus Torvalds authored
      Pull xfs fixes from Darrick Wong:
      
       - fix some more CONFIG_XFS_RT related build problems
      
       - fix data loss when writeback at eof races eofblocks gc and loses
      
       - invalidate page cache after fs finishes a dio write
      
       - remove dirty page state when invalidating pages so releasepage does
         the right thing when handed a dirty page
      
      * tag 'xfs-4.14-fixes-6' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
        xfs: move two more RT specific functions into CONFIG_XFS_RT
        xfs: trim writepage mapping to within eof
        fs: invalidate page cache after end_io() in dio completion
        xfs: cancel dirty pages on invalidation
      73d3393a
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.dk/linux-block · 020b3023
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
       "Three small fixes:
      
         - A fix for skd, it was using kfree() to free a structure allocate
           with kmem_cache_alloc().
      
         - Stable fix for nbd, fixing a regression using the normal ioctl
           based tools.
      
         - Fix for a previous fix in this series, that fixed up
           inconsistencies between buffered and direct IO"
      
      * 'for-linus' of git://git.kernel.dk/linux-block:
        fs: Avoid invalidation in interrupt context in dio_complete()
        nbd: don't set the device size until we're connected
        skd: Use kmem_cache_free
      020b3023
  5. Oct 18, 2017
    • Naveen N. Rao's avatar
      Revert "kprobes: Warn if optprobe handler tries to change execution path" · 4f3a8714
      Naveen N. Rao authored
      This reverts commit:
      
        e863d539 ("kprobes: Warn if optprobe handler tries to change execution path")
      
      On PowerPC, we place a probe at kretprobe_trampoline to catch function
      returns and with CONFIG_OPTPROBES=y, this probe gets optimized. This
      works for us due to the way we handle the optprobe as described in
      commit:
      
        762df10b
      
       ("powerpc/kprobes: Optimize kprobe in kretprobe_trampoline()")
      
      With the above commit, we end up with a warning. As such, revert this change.
      
      Reported-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
      Signed-off-by: default avatarNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
      Cc: Ananth N Mavinakayanahalli <ananth@linux.vnet.ibm.com>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Masami Hiramatsu <mhiramat@kernel.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Link: http://lkml.kernel.org/r/20171017081834.3629-1-naveen.n.rao@linux.vnet.ibm.com
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      4f3a8714
    • Li Zhijian's avatar
      perf test shell trace+probe_libc_inet_pton.sh: Be compatible with Debian/Ubuntu · 74f8e22c
      Li Zhijian authored
      
      
      In debian/ubuntu, libc.so is located at a different place,
      /lib/x86_64-linux-gnu/libc-2.23.so, so it outputs like this when testing:
      
        PING ::1(::1) 56 data bytes
        64 bytes from ::1: icmp_seq=1 ttl=64 time=0.040 ms
      
        --- ::1 ping statistics ---
        1 packets transmitted, 1 received, 0% packet loss, time 0ms
        rtt min/avg/max/mdev = 0.040/0.040/0.040/0.000 ms
        0.000 probe_libc:inet_pton:(7f0e2db741c0))
        __GI___inet_pton (/lib/x86_64-linux-gnu/libc-2.23.so)
        getaddrinfo (/lib/x86_64-linux-gnu/libc-2.23.so)
        [0xffffa9d40f34ff4d] (/bin/ping)
      
      Fix up the libc path to make sure this test works in more OSes.
      
      Committer testing:
      
      When this test fails one can use 'perf test -v', i.e. in verbose mode, where
      it'll show the expected backtrace, so, after applying this test:
      
      On Fedora 26:
      
        # perf test -v ping
        62: probe libc's inet_pton & backtrace it with ping       :
        --- start ---
        test child forked, pid 23322
        PING ::1(::1) 56 data bytes
        64 bytes from ::1: icmp_seq=1 ttl=64 time=0.058 ms
        --- ::1 ping statistics ---
        1 packets transmitted, 1 received, 0% packet loss, time 0ms
        rtt min/avg/max/mdev = 0.058/0.058/0.058/0.000 ms
        0.000 probe_libc:inet_pton:(7fe344310d80))
        __GI___inet_pton (/usr/lib64/libc-2.25.so)
        getaddrinfo (/usr/lib64/libc-2.25.so)
        _init (/usr/bin/ping)
        test child finished with 0
        ---- end ----
        probe libc's inet_pton & backtrace it with ping: Ok
        #
      
      Signed-off-by: default avatarLi Zhijian <lizhijian@cn.fujitsu.com>
      Tested-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
      Cc: Kim Phillips <kim.phillips@arm.com>
      Cc: Li Zhijian <lizhijian@cn.fujitsu.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Philip Li <philip.li@intel.com>
      Link: http://lkml.kernel.org/r/1508315649-18836-1-git-send-email-lizhijian@cn.fujitsu.com
      Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      74f8e22c