Home
last modified time | relevance | path

Searched refs:cnt (Results 1 – 3 of 3) sorted by relevance

/samples/trace_events/
A Dtrace-events-sample.c27 int len = cnt % 5; in do_simple_thread_func()
45 trace_foo_with_template_simple("HELLO", cnt); in do_simple_thread_func()
47 trace_foo_bar_with_cond("Some times print", cnt); in do_simple_thread_func()
56 static void simple_thread_func(int cnt) in simple_thread_func() argument
58 do_simple_thread_func(cnt, "iter=%d", cnt); in simple_thread_func()
63 int cnt = 0; in simple_thread() local
66 simple_thread_func(cnt++); in simple_thread()
74 static void simple_thread_func_fn(int cnt) in simple_thread_func_fn() argument
80 trace_foo_bar_with_fn("Look at me", cnt); in simple_thread_func_fn()
86 int cnt = 0; in simple_thread_fn() local
[all …]
/samples/bpf/
A Dtrace_output_user.c18 static __u64 cnt; variable
35 cnt++; in print_bpf_output()
37 if (cnt == MAX_CNT) { in print_bpf_output()
97 while ((ret = perf_buffer__poll(pb, 1000)) >= 0 && cnt < MAX_CNT) { in main()
A Dtracex3_user.c80 __u64 cnt[SLOTS]; in print_hist() local
90 cnt[key] = value; in print_hist()
97 int c = num_colors * cnt[key] / (max_cnt + 1); in print_hist()

Completed in 4 milliseconds