Arnaldo Carvalho de Melo
8e99b6d453
tools include: Adopt strstarts() from the kernel
...
Replacing prefixcmp(), same purpose, inverted result, so standardize on
the kernel variant, to reduce silly differences among tools/ and the
kernel sources, making it easier for people to work in both codebases.
And then doing:
if (strstarts(option, "no-"))
Looks clearer than doing:
if (!prefixcmp(option, "no-"))
To figure out if option starts witn "no-".
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-kaei42gi7lpa8subwtv7eug8@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2017-07-20 15:46:10 -03:00
..
arch
perf intel-pt: Always set no branch for dummy event
2017-07-20 09:55:51 -03:00
bench
perf tools: Use __maybe_unused consistently
2017-06-19 15:27:06 -03:00
Documentation
perf record: Create a new option save_type in --branch-filter
2017-07-18 23:14:39 -03:00
jvmti
perf jit: fix typo: "incalid" -> "invalid"
2017-06-27 11:55:06 -03:00
pmu-events
perf vendor events: Add POWER9 PVRs to mapfile
2017-07-18 23:14:06 -03:00
python
scripts
perf intel-pt: Add example script for power events and PTWRITE
2017-06-30 11:50:53 -03:00
tests
perf tests attr: Add optional term
2017-07-18 23:14:22 -03:00
trace
perf trace beauty clone: Suppress unused args according to 'flags' arg
2017-07-20 11:03:10 -03:00
ui
tools include: Adopt strstarts() from the kernel
2017-07-20 15:46:10 -03:00
util
tools include: Adopt strstarts() from the kernel
2017-07-20 15:46:10 -03:00
.gitignore
Build
perf trace: Only build tools/perf/trace/beauty/ when building 'perf trace'
2017-07-18 23:13:52 -03:00
builtin-annotate.c
perf tools: Add feature header record to pipe-mode
2017-07-18 23:14:36 -03:00
builtin-bench.c
builtin-buildid-cache.c
perf buildid-cache: Cache debuginfo
2017-07-18 23:14:11 -03:00
builtin-buildid-list.c
builtin-c2c.c
perf tools: Replace error() with pr_err()
2017-06-27 11:22:31 -03:00
builtin-config.c
tools include: Adopt strstarts() from the kernel
2017-07-20 15:46:10 -03:00
builtin-data.c
builtin-diff.c
perf config: Do not die when parsing u64 or int config values
2017-06-27 11:44:58 -03:00
builtin-evlist.c
builtin-ftrace.c
tools include: Adopt strstarts() from the kernel
2017-07-20 15:46:10 -03:00
builtin-help.c
tools include: Adopt strstarts() from the kernel
2017-07-20 15:46:10 -03:00
builtin-inject.c
perf tools: Add feature header record to pipe-mode
2017-07-18 23:14:36 -03:00
builtin-kallsyms.c
builtin-kmem.c
perf tools: Replace error() with pr_err()
2017-06-27 11:22:31 -03:00
builtin-kvm.c
perf tools: Remove poll.h and wait.h from util.h
2017-04-24 13:43:34 -03:00
builtin-list.c
builtin-lock.c
builtin-mem.c
perf tools: Use just forward declarations for struct thread where possible
2017-04-24 13:43:35 -03:00
builtin-probe.c
perf buildid-cache: Support binary objects from other namespaces
2017-07-18 23:14:11 -03:00
builtin-record.c
perf tools: Add feature header record to pipe-mode
2017-07-18 23:14:36 -03:00
builtin-report.c
perf report: Show branch type statistics for stdio mode
2017-07-18 23:14:41 -03:00
builtin-sched.c
perf tools: Replace error() with pr_err()
2017-06-27 11:22:31 -03:00
builtin-script.c
perf tools: Add feature header record to pipe-mode
2017-07-18 23:14:36 -03:00
builtin-stat.c
perf tools: Replace error() with pr_err()
2017-06-27 11:22:31 -03:00
builtin-timechart.c
perf tools: Use just forward declarations for struct thread where possible
2017-04-24 13:43:35 -03:00
builtin-top.c
perf annotate: Check for fused instructions
2017-07-18 23:11:25 -03:00
builtin-trace.c
perf trace: Filter out 'sshd' in the tracer ancestry in syswide tracing
2017-07-20 15:16:25 -03:00
builtin-version.c
perf tools: Remove string.h, unistd.h and sys/stat.h from util.h
2017-04-24 13:43:33 -03:00
builtin.h
perf tools: Remove stale prototypes from builtin.h
2017-04-24 13:43:33 -03:00
check-headers.sh
tools include uapi: Grab a copy of linux/sched.h
2017-07-20 11:02:51 -03:00
command-list.txt
CREDITS
design.txt
Makefile
Makefile.config
tools build: Add test for setns()
2017-07-18 23:14:08 -03:00
Makefile.perf
perf tools: Fix build with ARCH=x86_64
2017-06-14 15:44:29 -03:00
MANIFEST
tools include uapi: Grab a copy of linux/sched.h
2017-07-20 11:02:51 -03:00
perf-archive.sh
perf-completion.sh
perf-read-vdso.c
perf-sys.h
perf-with-kcore.sh
perf.c
tools include: Adopt strstarts() from the kernel
2017-07-20 15:46:10 -03:00
perf.h
perf tests attr: Add test_attr__ready function
2017-07-18 23:14:15 -03:00