/linux-master/tools/perf/scripts/python/bin/ |
H A D | event_analyzing_sample-record | 4 # event_analyzing_sample.py can cover all type of perf samples including 8 perf record $@
|
H A D | export-to-postgresql-record | 4 # export perf data to a postgresql database. Can cover 5 # perf ip samples (excluding the tracepoints). No special 8 perf record $@
|
H A D | stackcollapse-record | 4 # stackcollapse.py can cover all type of perf samples including 8 perf record "$@"
|
H A D | export-to-sqlite-record | 4 # export perf data to a sqlite3 database. Can cover 5 # perf ip samples (excluding the tracepoints). No special 8 perf record $@
|
H A D | powerpc-hcalls-record | 2 perf record -e "{powerpc:hcall_entry,powerpc:hcall_exit}" $@
|
H A D | flamegraph-record | 2 perf record -g "$@"
|
H A D | gecko-record | 2 perf record -F 99 -g "$@"
|
H A D | net_dropmonitor-record | 2 perf record -e skb:kfree_skb $@
|
H A D | intel-pt-events-record | 13 perf record $@
|
H A D | failed-syscalls-by-pid-record | 2 (perf record -e raw_syscalls:sys_exit $@ || \ 3 perf record -e syscalls:sys_exit $@) 2> /dev/null
|
H A D | sctop-record | 2 (perf record -e raw_syscalls:sys_enter $@ || \ 3 perf record -e syscalls:sys_enter $@) 2> /dev/null
|
H A D | syscall-counts-by-pid-record | 2 (perf record -e raw_syscalls:sys_enter $@ || \ 3 perf record -e syscalls:sys_enter $@) 2> /dev/null
|
H A D | syscall-counts-record | 2 (perf record -e raw_syscalls:sys_enter $@ || \ 3 perf record -e syscalls:sys_enter $@) 2> /dev/null
|
H A D | gecko-report | 2 # description: create firefox gecko profile json format from perf.data 4 perf script -s "$PERF_EXEC_PATH"/scripts/python/gecko.py 6 perf script -s "$PERF_EXEC_PATH"/scripts/python/gecko.py -- "$@"
|
H A D | mem-phys-addr-record | 8 load=`perf list | grep mem_inst_retired.all_loads` 10 load=`perf list | grep mem_uops_retired.all_loads` 19 perf record --phys-data -e $arg $@
|
/linux-master/tools/perf/tests/shell/lib/ |
H A D | probe.sh | 6 perf probe 2>&1 | grep -q 'is not a perf-command' && return 2 11 perf trace -h 2>&1 | grep -q -e 'is not a perf-command' -e 'trace command not available' && return 2
|
H A D | perf_has_symbol.sh | 6 if perf test -vv -F "Symbols" 2>&1 | grep "[[:space:]]$1$"; then 7 echo "perf does have symbol '$1'" 10 echo "perf does not have symbol '$1'" 17 echo "perf is missing symbols - skipping test"
|
H A D | probe_vfs_getname.sh | 4 perf probe -l 2>&1 | grep -q probe:vfs_getname 9 perf probe -q -d probe:vfs_getname* 16 line=$(perf probe -L getname_flags 2>&1 | grep -E 'result.*=.*filename;' | sed -r 's/[[:space:]]+([[:digit:]]+)[[:space:]]+result->uptr.*/\1/') 17 perf probe -q "vfs_getname=getname_flags:${line} pathname=result->name:string" || \ 18 perf probe $add_probe_verbose "vfs_getname=getname_flags:${line} pathname=filename:ustring" 27 # check if perf is compiled with libtraceevent support 30 perf record --dry-run -e $1 2>&1 | grep "libtraceevent is necessary for tracepoint support" && return 2
|
/linux-master/tools/perf/scripts/perl/bin/ |
H A D | failed-syscalls-record | 2 (perf record -e raw_syscalls:sys_exit $@ || \ 3 perf record -e syscalls:sys_exit $@) 2> /dev/null
|
/linux-master/tools/perf/python/ |
H A D | twatch.py | 5 # twatch - Experimental use of the perf python interface 9 import perf namespace 12 cpus = perf.cpu_map() 13 threads = perf.thread_map(thread) 14 evsel = perf.evsel(type = perf.TYPE_SOFTWARE, 15 config = perf.COUNT_SW_DUMMY, 19 sample_type = perf.SAMPLE_PERIOD | perf.SAMPLE_TID | perf [all...] |
H A D | tracepoint.py | 6 import perf namespace 8 class tracepoint(perf.evsel): 10 config = perf.tracepoint(sys, name) 11 perf.evsel.__init__(self, 12 type = perf.TYPE_TRACEPOINT, 15 sample_type = perf.SAMPLE_PERIOD | perf.SAMPLE_TID | perf.SAMPLE_CPU | perf.SAMPLE_RAW | perf [all...] |
/linux-master/tools/perf/tests/shell/ |
H A D | test_brstack.sh | 13 if ! perf record -o- --no-buildid --branch-filter any,save_type,u -- true > /dev/null 2>&1 ; then 21 TESTPROG="perf test -w brstack" 32 perf record -o $TMPDIR/perf.data --branch-filter any,save_type,u -- ${TESTPROG} > /dev/null 2>&1 33 perf script -i $TMPDIR/perf.data --fields brstacksym | xargs -n1 > $TMPDIR/perf.script 39 grep -E -m1 "^brstack_bench\+[^ ]*/brstack_foo\+[^ ]*/IND_CALL/.*$" $TMPDIR/perf.script 40 grep -E -m1 "^brstack_foo\+[^ ]*/brstack_bar\+[^ ]*/CALL/.*$" $TMPDIR/perf.script 41 grep -E -m1 "^brstack_bench\+[^ ]*/brstack_foo\+[^ ]*/CALL/.*$" $TMPDIR/perf [all...] |
H A D | pipe_test.sh | 2 # perf pipe recording and injection test 13 data=$(mktemp /tmp/perf.data.XXXXXX) 14 prog="perf test -w noploop" 15 task="perf" 17 if ! perf record -e task-clock:u -o - ${prog} | perf report -i - --task | grep ${task}; then 18 echo "cannot find the test file in the perf report" 22 if ! perf record -e task-clock:u -o - ${prog} | perf inject -b | perf repor [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | perf.c | 26 #include <subdev/bios/perf.h> 34 u32 perf = 0; local 38 perf = nvbios_rd32(bios, bit_P.offset + 0); 39 if (perf) { 40 *ver = nvbios_rd08(bios, perf + 0); 41 *hdr = nvbios_rd08(bios, perf + 1); 43 *cnt = nvbios_rd08(bios, perf + 5); 44 *len = nvbios_rd08(bios, perf + 2); 45 *snr = nvbios_rd08(bios, perf + 4); 46 *ssz = nvbios_rd08(bios, perf 83 u32 perf = nvbios_perf_table(bios, ver, hdr, cnt, len, &snr, &ssz); local 98 u32 perf = nvbios_perf_entry(bios, idx, ver, hdr, cnt, len); local 206 u32 perf = nvbios_perf_table(bios, &ver, &hdr, &cnt, &len, &snr, &ssz); local [all...] |
/linux-master/drivers/ntb/test/ |
H A D | ntb_perf.c | 144 struct perf_ctx *perf; member in struct:perf_peer 169 struct perf_ctx *perf; member in struct:perf_thread 205 int (*cmd_recv)(struct perf_ctx *perf, int *pidx, enum perf_cmd *cmd, 247 static void perf_terminate_test(struct perf_ctx *perf); 253 link = ntb_link_is_up(peer->perf->ntb, NULL, NULL); 260 struct perf_ctx *perf = peer->perf; local 264 dev_dbg(&perf->ntb->dev, "CMD send: %d 0x%llx\n", cmd, data); 277 sts = ntb_peer_spad_read(perf->ntb, peer->pidx, 278 PERF_SPAD_CMD(perf 304 perf_spad_cmd_recv(struct perf_ctx *perf, int *pidx, enum perf_cmd *cmd, u64 *data) argument 351 struct perf_ctx *perf = peer->perf; local 393 perf_msg_cmd_recv(struct perf_ctx *perf, int *pidx, enum perf_cmd *cmd, u64 *data) argument 423 struct perf_ctx *perf = peer->perf; local 456 perf_cmd_recv(struct perf_ctx *perf) argument 484 struct perf_ctx *perf = ctx; local 506 struct perf_ctx *perf = ctx; local 517 struct perf_ctx *perf = ctx; local 539 struct perf_ctx *perf = peer->perf; local 571 struct perf_ctx *perf = peer->perf; local 658 perf_init_service(struct perf_ctx *perf) argument 696 perf_enable_service(struct perf_ctx *perf) argument 740 perf_disable_service(struct perf_ctx *perf) argument 863 struct perf_ctx *perf = data; local 873 struct perf_ctx *perf = pthr->perf; local 925 struct perf_ctx *perf = pthr->perf; local 968 struct perf_ctx *perf = pthr->perf; local 997 struct perf_ctx *perf = pthr->perf; local 1051 perf_set_tcnt(struct perf_ctx *perf, u8 tcnt) argument 1066 perf_terminate_test(struct perf_ctx *perf) argument 1081 struct perf_ctx *perf = peer->perf; local 1117 perf_read_stats(struct perf_ctx *perf, char *buf, size_t size, ssize_t *pos) argument 1152 perf_init_threads(struct perf_ctx *perf) argument 1172 perf_clear_threads(struct perf_ctx *perf) argument 1185 struct perf_ctx *perf = filep->private_data; local 1268 struct perf_ctx *perf = filep->private_data; local 1290 struct perf_ctx *perf = filep->private_data; local 1319 struct perf_ctx *perf = filep->private_data; local 1332 struct perf_ctx *perf = filep->private_data; local 1353 perf_setup_dbgfs(struct perf_ctx *perf) argument 1380 perf_clear_dbgfs(struct perf_ctx *perf) argument 1392 struct perf_ctx *perf; local 1411 struct perf_ctx *perf = peer->perf; local 1438 perf_init_peers(struct perf_ctx *perf) argument 1486 struct perf_ctx *perf; local 1514 struct perf_ctx *perf = ntb->ctx; local [all...] |