linux/tools/perf
Arnaldo Carvalho de Melo 1de5b5dcb8 perf trace: Mark the 'head' arg in the set_robust_list syscall as coming from user space
With that it uses the generic BTF based pretty printer:

This one we need to think about, not being acquainted with this syscall,
should we _traverse_ that list somehow? Would that be useful?

  root@number:~# perf trace -e set_robust_list sleep 1
       0.000 ( 0.004 ms): sleep/1206493 set_robust_list(head: (struct robust_list_head){.list = (struct robust_list){.next = (struct robust_list *)0x7f48a9a02a20,},.futex_offset = (long int)-32,}, len: 24) =
  root@number:~#

strace prints the default integer args:

  root@number:~# strace -e set_robust_list sleep 1
  set_robust_list(0x7efd99559a20, 24)     = 0
  +++ exited with 0 +++
  root@number:~#

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alan Maguire <alan.maguire@oracle.com>
Cc: Howard Chu <howardchu95@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Namhyung Kim <namhyung@kernel.org
Link: https://lore.kernel.org/lkml/ZuH6MquMraBvODRp@x1
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2024-09-11 17:25:45 -03:00
..
arch perf tools: Build x86 32-bit syscall table from arch/x86/entry/syscalls/syscall_32.tbl 2024-09-02 11:13:40 -03:00
bench
dlfilters
Documentation perf check: Fix inconsistencies in feature names 2024-09-04 16:19:53 -03:00
include/perf
jvmti
pmu-events perf jevents: Ignore sys when determining a model directory 2024-09-06 11:44:46 -03:00
python
scripts
tests perf pmus: Fake PMU clean up 2024-09-11 11:27:42 -03:00
trace perf trace: Introduce SCA_TIMESPEC_FROM_USER() to set .from_user = true 2024-09-09 19:23:04 -03:00
ui
util perf env: Find correct branch counter info on hybrid 2024-09-11 13:08:46 -03:00
.gitignore
Build perf check: Introduce 'check' subcommand 2024-09-04 09:56:05 -03:00
builtin-annotate.c
builtin-bench.c
builtin-buildid-cache.c
builtin-buildid-list.c
builtin-c2c.c perf mem: Fix missed p-core mem events on ADL and RPL 2024-09-06 11:45:17 -03:00
builtin-check.c perf check: Fix inconsistencies in feature names 2024-09-04 16:19:53 -03:00
builtin-config.c
builtin-daemon.c
builtin-data.c
builtin-diff.c
builtin-evlist.c perf evlist: Print hint for group 2024-09-11 13:08:45 -03:00
builtin-ftrace.c perf ftrace: Detect whether ftrace is enabled on system 2024-09-11 09:35:35 -03:00
builtin-help.c perf help: Fix a typo ("bellow") 2024-09-11 11:24:12 -03:00
builtin-inject.c perf callchain: Allow symbols to be optional when resolving a callchain 2024-09-10 17:32:47 -03:00
builtin-kallsyms.c
builtin-kmem.c libsubcmd: Don't free the usage string 2024-09-04 09:54:24 -03:00
builtin-kvm.c libsubcmd: Don't free the usage string 2024-09-04 09:54:24 -03:00
builtin-kwork.c libsubcmd: Don't free the usage string 2024-09-04 09:54:24 -03:00
builtin-list.c perf list: Avoid potential out of bounds memory read 2024-09-11 11:26:27 -03:00
builtin-lock.c libsubcmd: Don't free the usage string 2024-09-04 09:54:24 -03:00
builtin-mem.c perf mem: Fix the wrong reference in parse_record_events() 2024-09-06 11:45:28 -03:00
builtin-probe.c
builtin-record.c
builtin-report.c
builtin-sched.c libsubcmd: Don't free the usage string 2024-09-04 09:54:24 -03:00
builtin-script.c perf env: Find correct branch counter info on hybrid 2024-09-11 13:08:46 -03:00
builtin-stat.c perf evsel: Add accessor for tool_event 2024-09-11 11:28:27 -03:00
builtin-timechart.c
builtin-top.c
builtin-trace.c perf trace: Mark the 'head' arg in the set_robust_list syscall as coming from user space 2024-09-11 17:25:45 -03:00
builtin-version.c perf version: Update --build-options to use 'supported_features' array 2024-09-04 16:19:29 -03:00
builtin.h perf check: Introduce 'check' subcommand 2024-09-04 09:56:05 -03:00
check-headers.sh perf tools: Build x86 32-bit syscall table from arch/x86/entry/syscalls/syscall_32.tbl 2024-09-02 11:13:40 -03:00
command-list.txt
CREDITS
design.txt
Makefile
Makefile.config tools: Drop nonsensical -O6 2024-09-11 13:08:36 -03:00
Makefile.perf
MANIFEST
perf-archive.sh
perf-completion.sh
perf-iostat.sh
perf-read-vdso.c
perf-sys.h
perf.c perf check: Introduce 'check' subcommand 2024-09-04 09:56:05 -03:00
perf.h