perf tools: Rename ordered_samples struct to ordered_events
Following up with ordered_samples rename for ordered_samples and sample_queue structs to ordered_events and ordered_event structs respectively. Also changing flush_sample_queue function name to ordered_events_flush. No functional change was intended. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Acked-by: David Ahern <dsahern@gmail.com> Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com> Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Jean Pihet <jean.pihet@linaro.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/n/tip-2dkrdvh0bbmzxdse437fcgls@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
committed by
Arnaldo Carvalho de Melo
parent
0a8cb85c20
commit
37e39aa8a8
@@ -12,19 +12,19 @@
|
||||
#include <linux/rbtree.h>
|
||||
#include <linux/perf_event.h>
|
||||
|
||||
struct sample_queue;
|
||||
struct ordered_event;
|
||||
struct ip_callchain;
|
||||
struct thread;
|
||||
|
||||
struct ordered_samples {
|
||||
struct ordered_events {
|
||||
u64 last_flush;
|
||||
u64 next_flush;
|
||||
u64 max_timestamp;
|
||||
struct list_head samples;
|
||||
struct list_head sample_cache;
|
||||
struct list_head to_free;
|
||||
struct sample_queue *sample_buffer;
|
||||
struct sample_queue *last_sample;
|
||||
struct ordered_event *sample_buffer;
|
||||
struct ordered_event *last_sample;
|
||||
int sample_buffer_idx;
|
||||
unsigned int nr_samples;
|
||||
};
|
||||
@@ -39,7 +39,7 @@ struct perf_session {
|
||||
bool one_mmap;
|
||||
void *one_mmap_addr;
|
||||
u64 one_mmap_offset;
|
||||
struct ordered_samples ordered_samples;
|
||||
struct ordered_events ordered_events;
|
||||
struct perf_data_file *file;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user