Passing stat_config to first_shadow_cpu, so the function
does not depend on stat command object local stat_config
and can be moved out.
Link: http://lkml.kernel.org/n/tip-x9gryrm7evfb3uybq2pxc...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/builtin-stat.c | 15 ---
1 file c
On 6/27/2018 10:22 AM, Rajendra Nayak wrote:
Changes in v4:
* Included the patch to add qcom-opp bindings (dropped accidentally in v3)
* merged the patches to add bindings for rpm and rpmh, added consumer binding
example
* Made the drivers built in, removed .remove
* Added better description
Moving static interval_clear into struct perf_stat_config,
so it can be passed around and used outside stat command.
Link: http://lkml.kernel.org/n/tip-jvas3d3b4t0jn3bdrnm0e...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/builtin-stat.c | 9 -
tools/perf/util/stat.h| 1 +
2
Adding 'struct target' argument to perf_evlist__print_counters,
so the function does not depend on stat command object local
target and can be moved out.
Link: http://lkml.kernel.org/n/tip-fxhirh8l1b9i0ozb6j69u...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/builtin-stat.c | 20 +++
Passing evlist to aggr_update_shadow,
to rid of the evsel_list dependency.
Link: http://lkml.kernel.org/n/tip-4xhx9wz6e4gua5q40dpj2...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/builtin-stat.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/tools/perf/built
Moving static csv_* fields into struct perf_stat_config,
so it can be passed around and used outside stat command.
Link: http://lkml.kernel.org/n/tip-md7htmdsje3od38k86do4...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/builtin-stat.c | 114 +++---
tools
Moving static metric_only into struct perf_stat_config,
so it can be passed around and used outside stat command.
Link: http://lkml.kernel.org/n/tip-tevvpgyi3o7ok34nx0oi0...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/builtin-stat.c | 29 -
tools/perf/util/
Moving create_perf_stat_counter to stat object,
so we could use it globally.
Link: http://lkml.kernel.org/n/tip-47odtb7otnqlo07h0crk6...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/builtin-stat.c | 54 +--
tools/perf/util/stat.c| 53
The attrs name makes more sense.
Link: http://lkml.kernel.org/n/tip-3zodh2azuy9hf1gba71m2...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/builtin-stat.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/perf/builtin-stat.c b/tools/perf/builtin-stat.c
index
So it can be used globaly.
Link: http://lkml.kernel.org/n/tip-6iu57r6ts9f0m92hw7f8i...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/builtin-stat.c | 42 ---
tools/perf/util/stat.c| 42 +++
tools/perf/util/stat.
To be in charge of printing out the stat output. It will be
moved out of stat command in following patches.
Link: http://lkml.kernel.org/n/tip-girva61h4z5vjn9fclc4d...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/builtin-stat.c | 16
1 file changed, 12 insertions(+), 4
Adding identifier flag into struct stat_opts to carry the
info whether to use PERF_SAMPLE_IDENTIFIER for events.
It makes the create_perf_stat_counter function independent.
Link: http://lkml.kernel.org/n/tip-s1n7gth2e05oxai3gf2z5...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/builtin-
So we can use the function outside stat command
with standard synthesize functions, that take
struct perf_tool* argument.
Link: http://lkml.kernel.org/n/tip-fwzsgvy78dkaij1dt6icb...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/builtin-stat.c | 13 +++--
1 file changed, 7 insert
Moving static no_inherit into struct perf_stat_config,
so it can be passed around and used outside stat command.
Link: http://lkml.kernel.org/n/tip-md7htmdsje3od38k86do4...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/builtin-stat.c | 5 ++---
tools/perf/util/stat.h| 1 +
2 files c
It's stat related and should stay in stat command.
The perf_evlist__print_counters function will be
moved out in following patches.
Link: http://lkml.kernel.org/n/tip-be5esxsl725gf6w717owb...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/builtin-stat.c | 8
1 file changed, 4 in
Moving static initial_delay into struct perf_stat_config,
so it can be passed around and used outside stat command.
Adding struct perf_stat_config argument into
create_perf_stat_counter function and using its
initial_delay instead of static one.
Link: http://lkml.kernel.org/n/tip-p2k4aymp7lxzqr7j
Adding perf_evsel__store_ids function from stat's
store_counter_ids code into evsel object, so it
could be used globaly.
Link: http://lkml.kernel.org/n/tip-epqr71x8ufexd3or67kjq...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/builtin-stat.c | 33 +
tools
hi,
while going for the ability to store/display stat data
in perf record/top I ended up with bunch of generic
patches that make some of the stat functions standalone
and simplify/reduce the builtin-stat.c code.
This patchset mostly separates the display functions
into separate object, plus severa
801 - 818 of 818 matches
Mail list logo