• A
    perf trace: Make the alignment of the syscall args be configurable · 9ed45d59
    Arnaldo Carvalho de Melo 提交于
    Since the start 'perf trace' aligns the parens enclosing the list of
    syscall args to align the syscall results, allow this to be
    configurable, keeping the default of 70. Using:
    
      # perf config
      llvm.dump-obj=true
      trace.add_events=/home/acme/git/perf/tools/perf/examples/bpf/augmented_raw_syscalls.o
      trace.show_zeros=yes
      trace.show_duration=no
      trace.no_inherit=yes
      trace.show_timestamp=no
      trace.show_arg_names=no
      trace.args_alignment=0
      # trace -e open*,close,*sleep sleep 1
      openat(CWD, /etc/ld.so.cache, CLOEXEC) = 3
      close(3) = 0
      openat(CWD, /lib64/libc.so.6, CLOEXEC) = 3
      close(3) = 0
      openat(CWD, /usr/lib/locale/locale-archive, CLOEXEC) = 3
      close(3) = 0
      nanosleep(0x7ffc00de66f0, 0) = 0
      close(1) = 0
      close(2) = 0
      #
    
    Cc: Adrian Hunter <adrian.hunter@intel.com>
    Cc: Jiri Olsa <jolsa@kernel.org>
    Cc: Luis Cláudio Gonçalves <lclaudio@redhat.com>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Cc: Wang Nan <wangnan0@huawei.com>
    Link: https://lkml.kernel.org/n/tip-r8cbhoz1lr5npq9tutpvoigr@git.kernel.orgSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
    9ed45d59
perf-config.txt 17.6 KB