diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-02-28 14:38:18 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-02-28 14:38:18 -0500 |
commit | 3f26b0c876bbfeed74325ada0329de53efbdf7a6 (patch) | |
tree | 10001aca5e2ff11e9d84514f8e4fcd050e944513 /tools/lib/traceevent | |
parent | 74efe07bc38c538ba7ac40a895910f4f3bee3152 (diff) | |
parent | 1572e45a924f254d9570093abde46430c3172e3d (diff) |
Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull perf fixes from Ingo Molnar:
"Misc fixes on the kernel and tooling side - nothing in particular
stands out"
* 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (21 commits)
perf/core: Fix the perf_cpu_time_max_percent check
perf/core: Fix perf_event_enable_on_exec() timekeeping (again)
perf/core: Remove confusing comment and move put_ctx()
perf record: Honor --quiet option properly
perf annotate: Add -q/--quiet option
perf diff: Add -q/--quiet option
perf report: Add -q/--quiet option
perf utils: Check verbose flag properly
perf utils: Add perf_quiet_option()
perf record: Add -a as default target
perf stat: Add -a as default target
perf tools: Fail on using multiple bits long terms without value
perf tools: Move new_term arguments into struct parse_events_term template
perf build: Add special fixdep cleaning rule
perf tools: Replace _SC_NPROCESSORS_CONF with max_present_cpu in cpu_topology_map
perf header: Make build_cpu_topology skip offline/absent CPUs
perf cpumap: Add cpu__max_present_cpu()
perf session: Fix DEBUG=1 build with clang
tools lib traceevent: It's preempt not prempt
perf python: Filter out -specs=/a/b/c from the python binding cc options
...
Diffstat (limited to 'tools/lib/traceevent')
-rw-r--r-- | tools/lib/traceevent/event-parse.c | 4 | ||||
-rw-r--r-- | tools/lib/traceevent/event-parse.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/lib/traceevent/event-parse.c b/tools/lib/traceevent/event-parse.c index f2ea78021450..7ce724fc0544 100644 --- a/tools/lib/traceevent/event-parse.c +++ b/tools/lib/traceevent/event-parse.c | |||
@@ -5225,13 +5225,13 @@ int pevent_data_pid(struct pevent *pevent, struct pevent_record *rec) | |||
5225 | } | 5225 | } |
5226 | 5226 | ||
5227 | /** | 5227 | /** |
5228 | * pevent_data_prempt_count - parse the preempt count from the record | 5228 | * pevent_data_preempt_count - parse the preempt count from the record |
5229 | * @pevent: a handle to the pevent | 5229 | * @pevent: a handle to the pevent |
5230 | * @rec: the record to parse | 5230 | * @rec: the record to parse |
5231 | * | 5231 | * |
5232 | * This returns the preempt count from a record. | 5232 | * This returns the preempt count from a record. |
5233 | */ | 5233 | */ |
5234 | int pevent_data_prempt_count(struct pevent *pevent, struct pevent_record *rec) | 5234 | int pevent_data_preempt_count(struct pevent *pevent, struct pevent_record *rec) |
5235 | { | 5235 | { |
5236 | return parse_common_pc(pevent, rec->data); | 5236 | return parse_common_pc(pevent, rec->data); |
5237 | } | 5237 | } |
diff --git a/tools/lib/traceevent/event-parse.h b/tools/lib/traceevent/event-parse.h index 74cecba87daa..66342804161c 100644 --- a/tools/lib/traceevent/event-parse.h +++ b/tools/lib/traceevent/event-parse.h | |||
@@ -710,7 +710,7 @@ void pevent_data_lat_fmt(struct pevent *pevent, | |||
710 | int pevent_data_type(struct pevent *pevent, struct pevent_record *rec); | 710 | int pevent_data_type(struct pevent *pevent, struct pevent_record *rec); |
711 | struct event_format *pevent_data_event_from_type(struct pevent *pevent, int type); | 711 | struct event_format *pevent_data_event_from_type(struct pevent *pevent, int type); |
712 | int pevent_data_pid(struct pevent *pevent, struct pevent_record *rec); | 712 | int pevent_data_pid(struct pevent *pevent, struct pevent_record *rec); |
713 | int pevent_data_prempt_count(struct pevent *pevent, struct pevent_record *rec); | 713 | int pevent_data_preempt_count(struct pevent *pevent, struct pevent_record *rec); |
714 | int pevent_data_flags(struct pevent *pevent, struct pevent_record *rec); | 714 | int pevent_data_flags(struct pevent *pevent, struct pevent_record *rec); |
715 | const char *pevent_data_comm_from_pid(struct pevent *pevent, int pid); | 715 | const char *pevent_data_comm_from_pid(struct pevent *pevent, int pid); |
716 | struct cmdline; | 716 | struct cmdline; |