Commit 5d2be7cb authored by Kirill Smelkov's avatar Kirill Smelkov Committed by Arnaldo Carvalho de Melo

perf trace scripts: Fix typos in perf-trace-python.txt

option option   -> option
special special -> special
Signed-off-by: default avatarKirill Smelkov <kirr@mns.spb.ru>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <1273747165-17242-1-git-send-email-kirr@mns.spb.ru>
Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 2e6cdf99
...@@ -182,7 +182,7 @@ mean either that the record step recorded event types that it wasn't ...@@ -182,7 +182,7 @@ mean either that the record step recorded event types that it wasn't
really interested in, or the script was run against a trace file that really interested in, or the script was run against a trace file that
doesn't correspond to the script. doesn't correspond to the script.
The script generated by -g option option simply prints a line for each The script generated by -g option simply prints a line for each
event found in the trace stream i.e. it basically just dumps the event event found in the trace stream i.e. it basically just dumps the event
and its parameter values to stdout. The print_header() function is and its parameter values to stdout. The print_header() function is
simply a utility function used for that purpose. Let's rename the simply a utility function used for that purpose. Let's rename the
...@@ -582,7 +582,7 @@ files: ...@@ -582,7 +582,7 @@ files:
flag_str(event_name, field_name, field_value) - returns the string represention corresponding to field_value for the flag field field_name of event event_name flag_str(event_name, field_name, field_value) - returns the string represention corresponding to field_value for the flag field field_name of event event_name
symbol_str(event_name, field_name, field_value) - returns the string represention corresponding to field_value for the symbolic field field_name of event event_name symbol_str(event_name, field_name, field_value) - returns the string represention corresponding to field_value for the symbolic field field_name of event event_name
The *autodict* function returns a special special kind of Python The *autodict* function returns a special kind of Python
dictionary that implements Perl's 'autovivifying' hashes in Python dictionary that implements Perl's 'autovivifying' hashes in Python
i.e. with autovivifying hashes, you can assign nested hash values i.e. with autovivifying hashes, you can assign nested hash values
without having to go to the trouble of creating intermediate levels if without having to go to the trouble of creating intermediate levels if
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment