Home
last modified time | relevance | path

Searched refs:tstamp (Results 1 – 14 of 14) sorted by relevance

/tools/testing/selftests/bpf/progs/
Dtest_tc_edt.c34 uint64_t tstamp, next_tstamp = 0; in throttle_flow() local
39 tstamp = skb->tstamp; in throttle_flow()
40 if (tstamp < now) in throttle_flow()
41 tstamp = now; in throttle_flow()
44 if (next_tstamp <= tstamp) { in throttle_flow()
45 if (bpf_map_update_elem(&flow_map, &key, &tstamp, BPF_ANY)) in throttle_flow()
60 skb->tstamp = next_tstamp; in throttle_flow()
Dtest_skb_ctx.c19 skb->tstamp++; in process()
/tools/testing/selftests/bpf/prog_tests/
Dskb_ctx.c15 .tstamp = 7, in test_skb_ctx()
100 CHECK_ATTR(skb.tstamp != 8, in test_skb_ctx()
103 skb.tstamp, 8); in test_skb_ctx()
/tools/testing/selftests/net/
Drxtimestamp.c30 bool tstamp; member
72 { .tstamp = true }
108 { .tstamp = true, .swtstamp = true }
145 if (t->expected.tstamp) in print_test_case()
214 actual.tstamp = true; in do_recv()
243 VALIDATE(tstamp); in do_recv()
Dso_txtime.c150 int64_t tstamp = 0; in do_recv_errqueue_timeout() local
201 tstamp = ((int64_t) err->ee_data) << 32 | err->ee_info; in do_recv_errqueue_timeout()
202 tstamp -= (int64_t) glob_tstart; in do_recv_errqueue_timeout()
203 tstamp /= 1000 * 1000; in do_recv_errqueue_timeout()
205 data[ret - 1], tstamp, reason); in do_recv_errqueue_timeout()
/tools/perf/util/
Dtrace-event.h85 struct evsel *evsel, u64 tstamp);
86 void (*process_stat_interval)(u64 tstamp);
/tools/include/uapi/sound/
Dasound.h480 struct timespec tstamp; /* reference timestamp */ member
530 struct __snd_timespec tstamp; /* Timestamp */ member
572 struct __snd_timespec64 tstamp; /* Timestamp */ member
751 struct timespec tstamp; /* Timestamp */ member
865 struct timespec tstamp; /* Timestamp - last update */ member
927 struct timespec tstamp; member
/tools/testing/selftests/bpf/verifier/
Dcgroup_skb.c178 offsetof(struct __sk_buff, tstamp)),
191 offsetof(struct __sk_buff, tstamp)),
Dctx_skb.c940 offsetof(struct __sk_buff, tstamp)),
942 offsetof(struct __sk_buff, tstamp)),
/tools/perf/util/scripting-engines/
Dtrace-event-python.c1377 process_stat(struct evsel *counter, int cpu, int thread, u64 tstamp, in process_stat() argument
1400 tuple_set_u64(t, n++, tstamp); in process_stat()
1414 struct evsel *counter, u64 tstamp) in python_process_stat() argument
1421 process_stat(counter, -1, -1, tstamp, in python_process_stat()
1429 perf_thread_map__pid(threads, thread), tstamp, in python_process_stat()
1435 static void python_process_stat_interval(u64 tstamp) in python_process_stat_interval() argument
1451 tuple_set_u64(t, n++, tstamp); in python_process_stat_interval()
/tools/perf/
Dbuiltin-script.c2029 static void __process_stat(struct evsel *counter, u64 tstamp) in __process_stat() argument
2057 tstamp, in __process_stat()
2063 static void process_stat(struct evsel *counter, u64 tstamp) in process_stat() argument
2066 scripting_ops->process_stat(&stat_config, counter, tstamp); in process_stat()
2068 __process_stat(counter, tstamp); in process_stat()
2071 static void process_stat_interval(u64 tstamp) in process_stat_interval() argument
2074 scripting_ops->process_stat_interval(tstamp); in process_stat_interval()
Dbuiltin-trace.c1508 static size_t __trace__fprintf_tstamp(struct trace *trace, u64 tstamp, FILE *fp) in __trace__fprintf_tstamp() argument
1510 double ts = (double)(tstamp - trace->base_time) / NSEC_PER_MSEC; in __trace__fprintf_tstamp()
1521 static size_t trace__fprintf_tstamp(struct trace *trace, u64 tstamp, FILE *fp) in trace__fprintf_tstamp() argument
1523 if (tstamp > 0) in trace__fprintf_tstamp()
1524 return __trace__fprintf_tstamp(trace, tstamp, fp); in trace__fprintf_tstamp()
1552 u64 duration, bool duration_calculated, u64 tstamp, FILE *fp) in trace__fprintf_entry_head() argument
1557 printed = trace__fprintf_tstamp(trace, tstamp, fp); in trace__fprintf_entry_head()
/tools/include/uapi/linux/
Dif_link.h354 __u32 tstamp; /* ipv6InterfaceTable updated timestamp */ member
Dbpf.h4120 __u64 tstamp; member