]> Git Repo - linux.git/blobdiff - tools/perf/util/scripting-engines/trace-event-python.c
powerpc/vdso64: Fix CLOCK_MONOTONIC inconsistencies across Y2038
[linux.git] / tools / perf / util / scripting-engines / trace-event-python.c
index 0e17db41b49bc20cbab7cccdfeb7db3bd3a7ae0c..09604c6508f040098eec7dbab6164afb5bc42768 100644 (file)
@@ -1173,7 +1173,7 @@ static int python_export_call_return(struct db_export *dbe,
        u64 comm_db_id = cr->comm ? cr->comm->db_id : 0;
        PyObject *t;
 
-       t = tuple_new(11);
+       t = tuple_new(12);
 
        tuple_set_u64(t, 0, cr->db_id);
        tuple_set_u64(t, 1, cr->thread->db_id);
@@ -1186,6 +1186,7 @@ static int python_export_call_return(struct db_export *dbe,
        tuple_set_u64(t, 8, cr->return_ref);
        tuple_set_u64(t, 9, cr->cp->parent->db_id);
        tuple_set_s32(t, 10, cr->flags);
+       tuple_set_u64(t, 11, cr->parent_db_id);
 
        call_object(tables->call_return_handler, t, "call_return_table");
 
@@ -1194,11 +1195,12 @@ static int python_export_call_return(struct db_export *dbe,
        return 0;
 }
 
-static int python_process_call_return(struct call_return *cr, void *data)
+static int python_process_call_return(struct call_return *cr, u64 *parent_db_id,
+                                     void *data)
 {
        struct db_export *dbe = data;
 
-       return db_export__call_return(dbe, cr);
+       return db_export__call_return(dbe, cr, parent_db_id);
 }
 
 static void python_process_general_event(struct perf_sample *sample,
This page took 0.034376 seconds and 4 git commands to generate.