diff options
Diffstat (limited to 'tools/perf/util/scripting-engines')
| -rw-r--r-- | tools/perf/util/scripting-engines/trace-event-perl.c | 1 | ||||
| -rw-r--r-- | tools/perf/util/scripting-engines/trace-event-python.c | 3 | 
2 files changed, 3 insertions, 1 deletions
| diff --git a/tools/perf/util/scripting-engines/trace-event-perl.c b/tools/perf/util/scripting-engines/trace-event-perl.c index 1bd593bbf7a5..544509c159ce 100644 --- a/tools/perf/util/scripting-engines/trace-event-perl.c +++ b/tools/perf/util/scripting-engines/trace-event-perl.c @@ -221,6 +221,7 @@ static void define_event_symbols(struct event_format *event,  		break;  	case PRINT_BSTRING:  	case PRINT_DYNAMIC_ARRAY: +	case PRINT_DYNAMIC_ARRAY_LEN:  	case PRINT_STRING:  	case PRINT_BITMASK:  		break; diff --git a/tools/perf/util/scripting-engines/trace-event-python.c b/tools/perf/util/scripting-engines/trace-event-python.c index ace2484985cb..a8e825fca42a 100644 --- a/tools/perf/util/scripting-engines/trace-event-python.c +++ b/tools/perf/util/scripting-engines/trace-event-python.c @@ -251,6 +251,7 @@ static void define_event_symbols(struct event_format *event,  		/* gcc warns for these? */  	case PRINT_BSTRING:  	case PRINT_DYNAMIC_ARRAY: +	case PRINT_DYNAMIC_ARRAY_LEN:  	case PRINT_FUNC:  	case PRINT_BITMASK:  		/* we should warn... */ @@ -318,7 +319,7 @@ static PyObject *python_process_callchain(struct perf_sample *sample,  	if (thread__resolve_callchain(al->thread, evsel,  				      sample, NULL, NULL, -				      PERF_MAX_STACK_DEPTH) != 0) { +				      scripting_max_stack) != 0) {  		pr_err("Failed to resolve callchain. Skipping\n");  		goto exit;  	} |