projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c56dfe
)
perf top: Use pid_t for target_{pid|tid}
author
Denis Kirjanov
<dkirjanov@kernel.org>
Sat, 5 Feb 2011 20:39:38 +0000
(20:39 +0000)
committer
Arnaldo Carvalho de Melo
<acme@redhat.com>
Mon, 7 Feb 2011 11:10:15 +0000
(09:10 -0200)
Use pid_t data type for target_{pid|tid} vars.
Cc: Ingo Molnar <mingo@elte.hu>
LKML-Reference: <
20110205203938
.GA15328@hera.kernel.org>
Signed-off-by: Denis Kirjanov <dkirjanov@kernel.org>
[ committer note: those variables are now in struct perf_top, fixed ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/top.h
patch
|
blob
|
blame
|
history
diff --git
a/tools/perf/util/top.h
b/tools/perf/util/top.h
index fe44afb69985c54f0ca33fa4fd175c44ed9d7d82..62e32939f3d176e94adbc65e2c3558b6317b0bfd 100644
(file)
--- a/
tools/perf/util/top.h
+++ b/
tools/perf/util/top.h
@@
-46,8
+46,8
@@
struct perf_top {
u64 exact_samples;
u64 guest_us_samples, guest_kernel_samples;
int print_entries, count_filter, delay_secs;
- int display_weighted, freq, rb_entries;
-
int sym_counter,
target_pid, target_tid;
+ int display_weighted, freq, rb_entries
, sym_counter
;
+
pid_t
target_pid, target_tid;
bool hide_kernel_symbols, hide_user_symbols, zero;
const char *cpu_list;
struct perf_evsel *sym_evsel;