Home
last modified time | relevance | path

Searched refs:new (Results 1 – 25 of 30) sorted by relevance

12

/tools/perf/util/
Dcallchain.c175 struct callchain_node *new; in create_child() local
177 new = zalloc(sizeof(*new)); in create_child()
178 if (!new) { in create_child()
182 new->parent = parent; in create_child()
183 INIT_LIST_HEAD(&new->children); in create_child()
184 INIT_LIST_HEAD(&new->val); in create_child()
189 list_splice(&parent->children, &new->children); in create_child()
192 chain_for_each_child(next, new) in create_child()
193 next->parent = new; in create_child()
195 list_add_tail(&new->siblings, &parent->children); in create_child()
[all …]
Dsession.c600 static void __queue_event(struct sample_queue *new, struct perf_session *s) in __queue_event() argument
604 u64 timestamp = new->timestamp; in __queue_event()
608 os->last_sample = new; in __queue_event()
611 list_add(&new->list, &os->samples); in __queue_event()
625 list_add_tail(&new->list, &os->samples); in __queue_event()
631 list_add_tail(&new->list, &sample->list); in __queue_event()
636 list_add(&new->list, &os->samples); in __queue_event()
641 list_add(&new->list, &sample->list); in __queue_event()
653 struct sample_queue *new; in perf_session_queue_event() local
664 new = list_entry(sc->next, struct sample_queue, list); in perf_session_queue_event()
[all …]
Ddso.c200 dso_cache__insert(struct rb_root *root, struct dso_cache *new) in dso_cache__insert() argument
205 u64 offset = new->offset; in dso_cache__insert()
220 rb_link_node(&new->rb_node, parent, p); in dso_cache__insert()
221 rb_insert_color(&new->rb_node, root); in dso_cache__insert()
Dparse-events.h81 int parse_events_term__clone(struct parse_events_term **new,
Dmap.c507 struct map *new = map__clone(map); in map_groups__clone() local
508 if (new == NULL) in map_groups__clone()
510 map_groups__insert(mg, new); in map_groups__clone()
Dparse-events.c1225 int parse_events_term__clone(struct parse_events_term **new, in parse_events_term__clone() argument
1228 return new_term(new, term->type_val, term->type_term, term->config, in parse_events_term__clone()
/tools/testing/ktest/examples/include/
Dmin-config.conf49 OUTPUT_MIN_CONFIG = ${CONFIG_DIR}/config-new-min-net
57 OUTPUT_MIN_CONFIG = ${CONFIG_DIR}/config-new-min
59 MIN_CONFIG = ${CONFIG_DIR}/config-new-min-net
/tools/perf/scripts/python/
Dsched-migration.py80 def __init__(self, new): argument
81 self.new = new
84 return "task migrated in %s" % thread_name(self.new)
131 def __migrate_in(self, new, event): argument
132 if new in self.tasks:
135 next_tasks = self.tasks[:] + tuple([new])
139 def migrate_in(self, new): argument
140 return self.__migrate_in(new, RunqueueMigrateIn(new))
142 def wake_up(self, new): argument
143 return self.__migrate_in(new, RunqueueEventWakeup(new))
[all …]
/tools/perf/
Dbuiltin-help.c128 char *new = strdup(path); in exec_man_konqueror() local
129 char *dest = strrchr(new, '/'); in exec_man_konqueror()
133 path = new; in exec_man_konqueror()
183 struct man_viewer_info_list *new = zalloc(sizeof(*new) + len + 1); in do_add_man_viewer_info() local
185 strncpy(new->name, name, len); in do_add_man_viewer_info()
186 new->info = strdup(value); in do_add_man_viewer_info()
187 new->next = man_viewer_info_list; in do_add_man_viewer_info()
188 man_viewer_info_list = new; in do_add_man_viewer_info()
Dbuiltin-lock.c134 static void thread_stat_insert(struct thread_stat *new) in thread_stat_insert() argument
144 if (new->tid < p->tid) in thread_stat_insert()
146 else if (new->tid > p->tid) in thread_stat_insert()
152 rb_link_node(&new->rb, parent, rb); in thread_stat_insert()
153 rb_insert_color(&new->rb, &thread_stats); in thread_stat_insert()
311 struct lock_stat *ret, *new; in lock_stat_findnew() local
318 new = zalloc(sizeof(struct lock_stat)); in lock_stat_findnew()
319 if (!new) in lock_stat_findnew()
322 new->addr = addr; in lock_stat_findnew()
323 new->name = zalloc(sizeof(char) * strlen(name) + 1); in lock_stat_findnew()
[all …]
Dbuiltin-diff.c444 static void hists__process(struct hists *old, struct hists *new) in hists__process() argument
446 hists__match(new, old); in hists__process()
449 hists__baseline_only(new); in hists__process()
451 hists__link(new, old); in hists__process()
454 hists__precompute(new); in hists__process()
455 hists__compute_resort(new); in hists__process()
457 hists__output_resort(new); in hists__process()
460 hists__fprintf(new, true, 0, 0, stdout); in hists__process()
Dbuiltin-kmem.c426 struct rb_node **new = &(root->rb_node); in sort_insert() local
430 while (*new) { in sort_insert()
434 this = rb_entry(*new, struct alloc_stat, node); in sort_insert()
435 parent = *new; in sort_insert()
444 new = &((*new)->rb_left); in sort_insert()
446 new = &((*new)->rb_right); in sort_insert()
449 rb_link_node(&data->node, parent, new); in sort_insert()
Dbuiltin-sched.c792 struct rb_node **new = &(root->rb_node), *parent = NULL; in __thread_latency_insert() local
794 while (*new) { in __thread_latency_insert()
798 this = container_of(*new, struct work_atoms, node); in __thread_latency_insert()
799 parent = *new; in __thread_latency_insert()
804 new = &((*new)->rb_left); in __thread_latency_insert()
806 new = &((*new)->rb_right); in __thread_latency_insert()
809 rb_link_node(&data->node, parent, new); in __thread_latency_insert()
Ddesign.txt28 The syscall returns the new fd. The fd can be used via the normal
35 When creating a new counter fd, 'perf_event_attr' is:
201 applies to new descendents, not to any existing descendents at the
202 time the counter is created (nor to any new descendents of existing
398 Notification of new events is possible through poll()/select()/epoll() and
/tools/power/x86/turbostat/
Dturbostat.c575 #define DELTA_WRAP32(new, old) \ argument
576 if (new > old) { \
577 old = new - old; \
579 old = 0x100000000 + new - old; \
583 delta_package(struct pkg_data *new, struct pkg_data *old) in delta_package() argument
585 old->pc2 = new->pc2 - old->pc2; in delta_package()
586 old->pc3 = new->pc3 - old->pc3; in delta_package()
587 old->pc6 = new->pc6 - old->pc6; in delta_package()
588 old->pc7 = new->pc7 - old->pc7; in delta_package()
589 old->pc8 = new->pc8 - old->pc8; in delta_package()
[all …]
/tools/perf/Documentation/
Dperf.txt15 Performance counters for Linux are a new kernel-based subsystem
Dperf-top.txt150 the tree is considered as a new profiled object.
Dperf-probe.txt6 perf-probe - Define new dynamic tracepoints
125 'EVENT' specifies the name of new event, if omitted, it will be set the name of the probed function…
Dexamples.txt220 All that the above results needed were those new tracepoints
/tools/perf/scripts/perl/Perf-Trace-Util/
DREADME14 want to add new Perl functions that end up accessing C data in the
15 perf executable, you add desciptions of the new functions here.
/tools/testing/selftests/
DREADME.txt30 Contributing new tests
/tools/lguest/
Dlguest.txt16 - Simple program to create new guests.
/tools/power/cpupower/po/
Dde.po556 " -d FREQ, --min FREQ new minimum CPU frequency the governor may "
565 " -u FREQ, --max FREQ new maximum CPU frequency the governor may "
573 msgid " -g GOV, --governor GOV new cpufreq governor\n"
629 "Error setting new values. Common errors:\n"
Dfr.po547 " -d FREQ, --min FREQ new minimum CPU frequency the governor may "
556 " -u FREQ, --max FREQ new maximum CPU frequency the governor may "
564 msgid " -g GOV, --governor GOV new cpufreq governor\n"
615 "Error setting new values. Common errors:\n"
Dpt.po553 " -d FREQ, --min FREQ new minimum CPU frequency the governor may "
562 " -u FREQ, --max FREQ new maximum CPU frequency the governor may "
570 msgid " -g GOV, --governor GOV new cpufreq governor\n"
625 "Error setting new values. Common errors:\n"

12