Home
last modified time | relevance | path

Searched refs:tm (Results 1 – 21 of 21) sorted by relevance

/tools/testing/selftests/powerpc/tm/
DMakefile2 SIGNAL_CONTEXT_CHK_TESTS := tm-signal-context-chk-gpr tm-signal-context-chk-fpu \
3 tm-signal-context-chk-vmx tm-signal-context-chk-vsx
5 TEST_GEN_PROGS := tm-resched-dscr tm-syscall tm-signal-msr-resv tm-signal-stack \
6 tm-vmxcopy tm-fork tm-tar tm-tmspr tm-vmx-unavail tm-unavailable tm-trap \
7 $(SIGNAL_CONTEXT_CHK_TESTS) tm-sigreturn tm-signal-sigreturn-nt \
8 tm-signal-context-force-tm tm-poison tm-signal-pagefault
19 $(OUTPUT)/tm-syscall: tm-syscall-asm.S
20 $(OUTPUT)/tm-syscall: CFLAGS += -I../../../../../usr/include
21 $(OUTPUT)/tm-tmspr: CFLAGS += -pthread
22 $(OUTPUT)/tm-vmx-unavail: CFLAGS += -pthread -m64
[all …]
D.gitignore2 tm-resched-dscr
3 tm-syscall
4 tm-signal-msr-resv
5 tm-signal-stack
6 tm-vmxcopy
7 tm-fork
8 tm-tar
9 tm-tmspr
10 tm-exec
11 tm-signal-context-chk-fpu
[all …]
/tools/testing/selftests/rtc/
Drtctest.c115 struct rtc_time tm; in TEST_F() local
120 rc = ioctl(self->fd, RTC_RD_TIME, &tm); in TEST_F()
123 secs = timegm((struct tm *)&tm) + ALARM_DELTA; in TEST_F()
124 gmtime_r(&secs, (struct tm *)&tm); in TEST_F()
126 rc = ioctl(self->fd, RTC_ALM_SET, &tm); in TEST_F()
133 rc = ioctl(self->fd, RTC_ALM_READ, &tm); in TEST_F()
137 tm.tm_hour, tm.tm_min, tm.tm_sec); in TEST_F()
158 rc = ioctl(self->fd, RTC_RD_TIME, &tm); in TEST_F()
161 new = timegm((struct tm *)&tm); in TEST_F()
168 struct rtc_time tm; in TEST_F() local
[all …]
/tools/testing/selftests/powerpc/ptrace/
D.gitignore3 ptrace-tm-gpr
4 ptrace-tm-spd-gpr
6 ptrace-tm-tar
7 ptrace-tm-spd-tar
9 ptrace-tm-vsx
10 ptrace-tm-spd-vsx
11 ptrace-tm-spr
DMakefile2 TEST_GEN_PROGS := ptrace-gpr ptrace-tm-gpr ptrace-tm-spd-gpr \
3 ptrace-tar ptrace-tm-tar ptrace-tm-spd-tar ptrace-vsx ptrace-tm-vsx \
4 ptrace-tm-spd-vsx ptrace-tm-spr ptrace-hwbreak ptrace-pkey core-pkey \
10 CFLAGS += -m64 -I../../../../../usr/include -I../tm -mhtm -fno-pie
/tools/bpf/runqslower/
Drunqslower.c104 struct tm *tm; in handle_event() local
109 tm = localtime(&t); in handle_event()
110 strftime(ts, sizeof(ts), "%H:%M:%S", tm); in handle_event()
/tools/perf/jvmti/
Djvmti_agent.c134 struct tm tm; in create_jit_cache_dir() local
139 localtime_r(&t, &tm); in create_jit_cache_dir()
147 strftime(str, sizeof(str), JIT_LANG"-jit-%Y%m%d", &tm); in create_jit_cache_dir()
/tools/perf/util/
Dtime-utils.c547 struct tm tm; in fetch_current_timestamp() local
550 if (gettimeofday(&tv, NULL) || !localtime_r(&tv.tv_sec, &tm)) in fetch_current_timestamp()
553 if (!strftime(dt, sizeof(dt), "%Y%m%d%H%M%S", &tm)) in fetch_current_timestamp()
Dthread-stack.c888 u64 tm = sample->time; in thread_stack__pop_ks() local
894 tm, ref, true); in thread_stack__pop_ks()
915 u64 tm = sample->time; in thread_stack__no_call_return() local
928 return thread_stack__push_cp(ts, 0, tm, ref, cp, true, in thread_stack__no_call_return()
951 tm, ref, false); in thread_stack__no_call_return()
959 return thread_stack__push_cp(ts, addr, tm, ref, cp, in thread_stack__no_call_return()
969 err = thread_stack__push_cp(ts, 0, tm, ref, cp, true, false); in thread_stack__no_call_return()
983 err = thread_stack__push_cp(ts, addr, tm, ref, cp, true, false); in thread_stack__no_call_return()
989 err = thread_stack__push_cp(ts, ip, tm, ref, cp, true, false); in thread_stack__no_call_return()
993 return thread_stack__call_return(thread, ts, --ts->cnt, tm, ref, false); in thread_stack__no_call_return()
Dintel-pt.c261 static bool intel_pt_log_events(struct intel_pt *pt, u64 tm) in intel_pt_log_events() argument
273 if (!tm) in intel_pt_log_events()
274 tm = 1; in intel_pt_log_events()
276 return !n || !perf_time__ranges_skip_sample(range, n, tm); in intel_pt_log_events()
2185 u64 tm = ptq->timestamp; in intel_ptq_synth_error() local
2187 tm = pt->timeless_decoding ? 0 : tsc_to_perf_time(tm, &pt->tc); in intel_ptq_synth_error()
2190 ptq->tid, state->from_ip, tm); in intel_ptq_synth_error()
3483 u64 tsc, tm; in intel_pt_tsc_start() local
3488 tm = tsc_to_perf_time(tsc, &pt->tc); in intel_pt_tsc_start()
3489 if (tm < ns) in intel_pt_tsc_start()
[all …]
Ddebug.c50 struct tm ltime; in fprintf_time()
Dheader.c1660 struct tm ltime; in print_clock_data()
/tools/testing/selftests/powerpc/nx-gzip/include/
Dnx_dbg.h35 time_t t; struct tm *m; time(&t); m = localtime(&t); \
/tools/testing/selftests/powerpc/
DMakefile29 tm \
/tools/perf/
Dbuiltin-stat.c318 static int write_stat_round_event(u64 tm, u64 type) in write_stat_round_event() argument
320 return perf_event__synthesize_stat_round(NULL, tm, type, in write_stat_round_event()
2287 struct timespec tm; in cmd_stat() local
2295 clock_gettime(CLOCK_REALTIME, &tm); in cmd_stat()
2296 fprintf(output, "# started on %s\n", ctime(&tm.tv_sec)); in cmd_stat()
Dbuiltin-kvm.c594 struct tm ltime; in show_timeofday()
Dbuiltin-script.c675 struct tm ltime; in tod_scnprintf()
/tools/perf/util/scripting-engines/
Dtrace-event-python.c1512 unsigned long long tm = e->time; in python_process_auxtrace_error() local
1521 tm = 0; in python_process_auxtrace_error()
1533 tuple_set_u64(t, 6, tm); in python_process_auxtrace_error()
/tools/arch/x86/kcpuid/
Dcpuid.csv79 1, 0, EDX, 29, tm, Thermal Monitor
/tools/bpf/bpftool/
Dprog.c105 struct tm load_tm; in print_boot_time()
/tools/power/pm-graph/
Dsleepgraph.py1709 type, tm, idx1, idx2 = e
1710 tm = self.trimTimeVal(tm, t0, dT, left)
1711 list.append((type, tm, idx1, idx2))