mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
tools lib traceevent, perf tools: Rename 'struct pevent_record' to 'struct tep_record'
In order to make libtraceevent into a proper library, variables, data structures and functions require a unique prefix to prevent name space conflicts. That prefix will be "tep_" and not "pevent_". This changes the 'struct pevent_record' to 'struct tep_record'. Signed-off-by: Tzvetomir Stoyanov (VMware) <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Yordan Karadzhov (VMware) <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Steven Rostedt <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
This commit is contained in:
parent
096177a8b5
commit
cbc49b25b9
12 changed files with 70 additions and 70 deletions
|
|
@ -729,7 +729,7 @@ static char *compact_gfp_string(unsigned long gfp_flags)
|
|||
static int parse_gfp_flags(struct perf_evsel *evsel, struct perf_sample *sample,
|
||||
unsigned int gfp_flags)
|
||||
{
|
||||
struct pevent_record record = {
|
||||
struct tep_record record = {
|
||||
.cpu = sample->cpu,
|
||||
.data = sample->raw_data,
|
||||
.size = sample->raw_size,
|
||||
|
|
|
|||
|
|
@ -601,7 +601,7 @@ static char *get_trace_output(struct hist_entry *he)
|
|||
{
|
||||
struct trace_seq seq;
|
||||
struct perf_evsel *evsel;
|
||||
struct pevent_record rec = {
|
||||
struct tep_record rec = {
|
||||
.data = he->raw_data,
|
||||
.size = he->raw_size,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -116,7 +116,7 @@ unsigned long long read_size(struct event_format *event, void *ptr, int size)
|
|||
void event_format__fprintf(struct event_format *event,
|
||||
int cpu, void *data, int size, FILE *fp)
|
||||
{
|
||||
struct pevent_record record;
|
||||
struct tep_record record;
|
||||
struct trace_seq s;
|
||||
|
||||
memset(&record, 0, sizeof(record));
|
||||
|
|
|
|||
Loading…
Reference in a new issue