Searched refs:perf (Results 1 - 25 of 335) sorted by relevance

1234567891011>>

/linux-master/tools/perf/scripts/python/bin/
H A Devent_analyzing_sample-record4 # event_analyzing_sample.py can cover all type of perf samples including
8 perf record $@
H A Dexport-to-postgresql-record4 # export perf data to a postgresql database. Can cover
5 # perf ip samples (excluding the tracepoints). No special
8 perf record $@
H A Dstackcollapse-record4 # stackcollapse.py can cover all type of perf samples including
8 perf record "$@"
H A Dexport-to-sqlite-record4 # export perf data to a sqlite3 database. Can cover
5 # perf ip samples (excluding the tracepoints). No special
8 perf record $@
H A Dpowerpc-hcalls-record2 perf record -e "{powerpc:hcall_entry,powerpc:hcall_exit}" $@
H A Dflamegraph-record2 perf record -g "$@"
H A Dgecko-record2 perf record -F 99 -g "$@"
H A Dnet_dropmonitor-record2 perf record -e skb:kfree_skb $@
H A Dintel-pt-events-record13 perf record $@
H A Dfailed-syscalls-by-pid-record2 (perf record -e raw_syscalls:sys_exit $@ || \
3 perf record -e syscalls:sys_exit $@) 2> /dev/null
H A Dsctop-record2 (perf record -e raw_syscalls:sys_enter $@ || \
3 perf record -e syscalls:sys_enter $@) 2> /dev/null
H A Dsyscall-counts-by-pid-record2 (perf record -e raw_syscalls:sys_enter $@ || \
3 perf record -e syscalls:sys_enter $@) 2> /dev/null
H A Dsyscall-counts-record2 (perf record -e raw_syscalls:sys_enter $@ || \
3 perf record -e syscalls:sys_enter $@) 2> /dev/null
H A Dgecko-report2 # 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 Dmem-phys-addr-record8 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 Dprobe.sh6 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 Dperf_has_symbol.sh6 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 Dprobe_vfs_getname.sh4 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 Dfailed-syscalls-record2 (perf record -e raw_syscalls:sys_exit $@ || \
3 perf record -e syscalls:sys_exit $@) 2> /dev/null
/linux-master/tools/perf/python/
H A Dtwatch.py5 # 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 Dtracepoint.py6 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 Dtest_brstack.sh13 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 Dpipe_test.sh2 # 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 Dperf.c26 #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 Dntb_perf.c144 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...]

Completed in 176 milliseconds

1234567891011>>