~ubuntu-branches/ubuntu/wily/ust/wily-proposed

« back to all changes in this revision

Viewing changes to include/lttng/ust-events.h

  • Committer: Package Import Robot
  • Author(s): Artur Rona
  • Date: 2015-06-24 14:18:03 UTC
  • mfrom: (11.2.11 sid)
  • Revision ID: package-import@ubuntu.com-20150624141803-zfj6xzpr7dlxiysg
Tags: 2.6.2-1ubuntu1
* Merge from Debian unstable. (LP: #1468345) Remaining changes:
  - debian/control, debian/patches/use-python3.patch:
    + Switch to use python3. (Closes: #789790)
* Drop following changes, fixed in Debian / upstream:
  - debian/patches/0001-Add-aarch64-host-cpu-in-configure.ac.patch:
    + Add arm64 host_cpu stanzas in configure.ac
  - debian/liblttng-ust0.symbols:
    + Update symbols file.
  - debian/control:
    + Enable builds on arm64 and ppc64el.

Show diffs side-by-side

added added

removed removed

Lines of Context:
258
258
        void (*destroy)(struct lttng_ctx_field *field);
259
259
};
260
260
 
261
 
#define LTTNG_UST_CTX_PADDING   24
 
261
#define LTTNG_UST_CTX_PADDING   20
262
262
struct lttng_ctx {
263
263
        struct lttng_ctx_field *fields;
264
264
        unsigned int nr_fields;
265
265
        unsigned int allocated_fields;
 
266
        unsigned int largest_align;
266
267
        char padding[LTTNG_UST_CTX_PADDING];
267
268
};
268
269
 
406
407
        void *_deprecated1;
407
408
        struct lttng_ctx *ctx;
408
409
        enum lttng_ust_instrumentation instrumentation;
409
 
        union {
410
 
        } u;
411
410
        struct cds_list_head node;              /* Event list in session */
412
411
        struct cds_list_head _deprecated2;
413
412
        void *_deprecated3;
590
589
int lttng_find_context(struct lttng_ctx *ctx, const char *name);
591
590
int lttng_get_context_index(struct lttng_ctx *ctx, const char *name);
592
591
struct lttng_ctx_field *lttng_append_context(struct lttng_ctx **ctx_p);
 
592
void lttng_context_update(struct lttng_ctx *ctx);
593
593
void lttng_remove_context_field(struct lttng_ctx **ctx_p,
594
594
                                struct lttng_ctx_field *field);
595
595
void lttng_destroy_context(struct lttng_ctx *ctx);