Skip to content

Commit

Permalink
perf top: Use pid_t for target_{pid|tid}
Browse files Browse the repository at this point in the history
Use pid_t data type for target_{pid|tid} vars.

Cc: Ingo Molnar <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Denis Kirjanov <[email protected]>
[ committer note: those variables are now in struct perf_top, fixed ]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
  • Loading branch information
Denis Kirjanov authored and acmel committed Feb 7, 2011
1 parent 9c56dfe commit ef4d001
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/perf/util/top.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ef4d001

Please sign in to comment.