Home
last modified time | relevance | path

Searched refs:pm (Results 1 – 17 of 17) sorted by relevance

/tools/power/pm-graph/
A DMakefile36 $(INSTALL) -d $(DESTDIR)$(LIBDIR)/pm-graph
37 $(INSTALL) sleepgraph.py $(DESTDIR)$(LIBDIR)/pm-graph
38 $(INSTALL) bootgraph.py $(DESTDIR)$(LIBDIR)/pm-graph
39 $(INSTALL) -d $(DESTDIR)$(LIBDIR)/pm-graph/config
67 rm -f $(DESTDIR)$(LIBDIR)/pm-graph/config/*
69 rmdir $(DESTDIR)$(LIBDIR)/pm-graph/config; \
71 rm -f $(DESTDIR)$(LIBDIR)/pm-graph/__pycache__/*
73 rmdir $(DESTDIR)$(LIBDIR)/pm-graph/__pycache__; \
75 rm -f $(DESTDIR)$(LIBDIR)/pm-graph/*
76 if [ -d $(DESTDIR)$(LIBDIR)/pm-graph ] ; then \
[all …]
A Dinstall_latest_from_github.sh16 rm -rf pm-graph
22 git clone http://github.com/intel/pm-graph.git $OUT/pm-graph
29 cd $OUT/pm-graph
A DREADME8 pm-graph: suspend/resume/boot timing analysis tools
11 …Home Page: https://www.intel.com/content/www/us/en/developer/topic-technology/open/pm-graph/overvi…
13 Report bugs/issues at bugzilla.kernel.org Tools/pm-graph
14 - https://bugzilla.kernel.org/buglist.cgi?component=pm-graph&product=Tools
21 https://www.intel.com/content/www/us/en/developer/topic-technology/open/pm-graph/features.html
24 git clone https://github.com/intel/pm-graph/
75 $> git clone http://github.com/intel/pm-graph.git
76 $> cd pm-graph
601 host%> wget https://raw.githubusercontent.com/intel/pm-graph/master/tools/android.sh
A Dsleepgraph.py1392 def start(self, pm): argument
1398 pm.start()
1399 def stop(self, pm): argument
1403 pm.stop()
5486 sv, tp, pm = sysvals, sysvals.tpath, ProcessMonitor()
5507 sv.start(pm)
5589 sv.stop(pm)
5595 sv.stop(pm)
/tools/perf/util/
A Dmetricgroup.c237 m->pmu = pm->pmu ?: "cpu"; in metric__new()
407 if (!pm->metric_expr || !pm->compat) in metricgroup__sys_event_iter()
701 memcpy(copied_pm, pm, sizeof(*pm)); in metricgroup__find_metric_callback()
739 struct pmu_metric pm; in resolve_metric() member
753 struct pmu_metric pm; in resolve_metric() local
763 memcpy(&pending[pending_cnt].pm, &pm, sizeof(pm)); in resolve_metric()
888 expr = pm->metric_expr; in __add_metric()
898 assert(strstr(pm->metric_threshold, pm->metric_name)); in __add_metric()
899 expr = metric_no_threshold ? pm->metric_name : pm->metric_threshold; in __add_metric()
910 if (pm->pmu && pm->pmu[0] != '\0') in __add_metric()
[all …]
A Dprint-events.c364 static int metricgroup__add_to_mep_groups_callback(const struct pmu_metric *pm, in metricgroup__add_to_mep_groups_callback() argument
372 mg = strdup(pm->metric_group ?: pm->metric_name); in metricgroup__add_to_mep_groups_callback()
381 me = mep_lookup(groups, g, pm->metric_name); in metricgroup__add_to_mep_groups_callback()
383 me = mep_lookup(groups, pm->metric_name, pm->metric_name); in metricgroup__add_to_mep_groups_callback()
386 me->metric_desc = pm->desc; in metricgroup__add_to_mep_groups_callback()
387 me->metric_long_desc = pm->long_desc; in metricgroup__add_to_mep_groups_callback()
388 me->metric_expr = pm->metric_expr; in metricgroup__add_to_mep_groups_callback()
389 me->metric_threshold = pm->metric_threshold; in metricgroup__add_to_mep_groups_callback()
390 me->metric_unit = pm->unit; in metricgroup__add_to_mep_groups_callback()
391 me->pmu_name = pm->pmu; in metricgroup__add_to_mep_groups_callback()
A Dmetricgroup.h89 int arch_get_runtimeparam(const struct pmu_metric *pm);
A Dstat-display.c832 print_metric_t pm; in printout() local
839 pm = config->metric_only ? print_metric_only_csv : print_metric_csv; in printout()
844 pm = config->metric_only ? print_metric_only_json : print_metric_json; in printout()
848 pm = config->metric_only ? print_metric_only : print_metric_std; in printout()
855 pm(config, os, METRIC_THRESHOLD_UNKNOWN, /*format=*/NULL, in printout()
869 out.print_metric = pm; in printout()
908 pm(config, os, METRIC_THRESHOLD_UNKNOWN, /*format=*/NULL, /*unit=*/NULL, /*val=*/0); in printout()
/tools/testing/selftests/tc-testing/
A Dtdc.py418 pm.call_pre_case(tidx)
423 pm.call_pre_execute(tidx)
465 pm.call_post_case(tidx)
496 pm.call_post_suite(1)
499 def purge_run(pm, index): argument
500 pm.call_post_suite(index)
617 mp_pm = pm
631 purge_run(pm, None)
643 purge_run(pm, index)
1010 pm = PluginMgr(parser)
[all …]
/tools/perf/pmu-events/
A Dempty-pmu-events.c370 pm->metric_name = (*p == '\0' ? NULL : p); in decompress_metric()
374 pm->metric_expr = (*p == '\0' ? NULL : p); in decompress_metric()
378 pm->desc = (*p == '\0' ? NULL : p); in decompress_metric()
380 pm->long_desc = (*p == '\0' ? NULL : p); in decompress_metric()
382 pm->unit = (*p == '\0' ? NULL : p); in decompress_metric()
384 pm->compat = (*p == '\0' ? NULL : p); in decompress_metric()
390 pm->aggr_mode = *p - '0'; in decompress_metric()
392 pm->event_grouping = *p - '0'; in decompress_metric()
521 struct pmu_metric pm = { in pmu_metrics_table__for_each_metric_pmu() local
527 if (!pm.metric_expr) in pmu_metrics_table__for_each_metric_pmu()
[all …]
A Dpmu-events.h89 typedef int (*pmu_metric_iter_fn)(const struct pmu_metric *pm,
/tools/perf/scripts/perl/Perf-Trace-Util/
A DREADME6 Core.pm and Util.pm are pure Perl modules; Core.pm contains routines
8 'used', while Util.pm contains useful but optional utility functions
9 that scripts may want to use. Context.pm contains the Perl->C
11 executable; scripts wishing to do that should 'use Context.pm'.
39 You should make sure libperl and ExtUtils/Embed.pm are installed first
/tools/perf/tests/
A Dpmu-events.c840 static int test__parsing_callback(const struct pmu_metric *pm, in test__parsing_callback() argument
851 if (!pm->metric_expr) in test__parsing_callback()
854 pr_debug("Found metric '%s'\n", pm->metric_name); in test__parsing_callback()
875 if (!strcmp(pm->metric_name, "M1") || !strcmp(pm->metric_name, "M2") || in test__parsing_callback()
876 !strcmp(pm->metric_name, "M3")) { in test__parsing_callback()
906 if (strcmp(mexp->metric_name, pm->metric_name)) in test__parsing_callback()
915 pr_debug("Didn't find parsed metric %s", pm->metric_name); in test__parsing_callback()
919 pr_debug("Broken metric %s\n", pm->metric_name); in test__parsing_callback()
1018 return metric_parse_fake(pm->metric_name, pm->metric_expr); in test__parsing_fake_callback()
1047 if (!pm->metric_threshold) in test__parsing_threshold_callback()
[all …]
/tools/perf/arch/powerpc/util/
A Dheader.c73 int arch_get_runtimeparam(const struct pmu_metric *pm) in arch_get_runtimeparam() argument
78 strcat(path, pm->aggr_mode == PerChip ? "sockets" : "coresperchip"); in arch_get_runtimeparam()
/tools/testing/selftests/bpf/progs/
A Dmptcp_subflow.c120 if (msk->pm.subflows != 1) { in _getsockopt_subflow()
/tools/power/cpupower/
A DMakefile63 PACKAGE_BUGREPORT = linux-pm@vger.kernel.org
/tools/power/cpupower/bindings/python/
A DREADME27 https://lore.kernel.org/linux-pm/Zqv9BOjxLAgyNP5B@hatbackup/

Completed in 90 milliseconds