Lines Matching +defs:t +defs:exec
107 * returns @func return value or -ESRCH or -ENXIO when the process isn't running
190 * If ctx_sched_in() didn't again set any ALL flags, clean up
508 * If throttling is disabled don't allow the write:
815 /* @event doesn't care about cgroup */
819 /* wants specific cgroup scope but @cpuctx isn't associated with any */
846 struct perf_cgroup_info *t;
848 t = per_cpu_ptr(event->cgrp->info, event->cpu);
849 return t->time;
854 struct perf_cgroup_info *t;
856 t = per_cpu_ptr(event->cgrp->info, event->cpu);
857 if (!__load_acquire(&t->active))
858 return t->time;
859 now += READ_ONCE(t->timeoffset);
1332 * concerned with cpuctx and that doesn't have children.
1495 * can't get swapped on us any more.
1521 * can't get swapped to another task. This also increments its
1522 * reference count so that the context can't get freed.
2190 * state so that we don't try to schedule it again. Note
2238 * link to the aux_event and can't schedule any more.
2334 * Can't check this from an IPI, the holder is likey another CPU.
2542 * that only calls us on the top-level context, which can't be a clone.
2620 * hence we can't get into perf_event_task_sched_out for this context.
2831 * events on the CPU, it can't go on.
2976 * If its not running, we don't care, ctx->lock will
2992 * If the current cgroup doesn't match the event's
3087 * value must be correct. If we're before, it doesn't matter since
3160 * If the event is in a group and isn't the group leader,
3161 * then don't put it on unless the group is on.
3317 * of exec.
3595 * don't need to use it.
3688 * uncloned in the meantime). It doesn't matter which
4139 * cpu pinned (that don't need to move), task pinned,
4543 * Enable all of a task's events that have been marked enable-on-exec.
4594 * remove-on-exec, and feeds their values back to parent events.
4856 * If event_cpu isn't a valid CPU it means the event got
5072 * can't because perf_event_init_task() doesn't actually hold the
5135 * can't because of the call-site in _free_event()/put_event()
5136 * which isn't always called under ctx->mutex.
5532 * doesn't exist yet; it is, however, safe to use PERF_ATTACH_TASK
5837 * state, if child is still the first entry, it didn't get freed
6090 * error state (i.e. because it was pinned but it couldn't be
6629 * unmapped, its aux_mmap_count will be 0 and it won't
6757 * they won't start any more (see perf_aux_output_begin()).
6804 * Check we didn't race with perf_event_set_output() which can
6884 * However this won't work here, because:
7132 * Don't allow mmap() of inherited per-task counters. This would
7271 * If the event isn't running; we done. event_sched_out() will have
7318 * and we won't recurse 'further'.
7333 * and we won't recurse 'further'.
7338 * The wakeup isn't bound to the context of the event -- it can happen
7357 * and we won't recurse 'further'.
7505 * If we don't, we limit the size to the TASK_SIZE.
7508 * If we don't, we customize the stack size to
7593 * If this is an NMI hit inside sampling code, don't take
7621 * doesn't change the event state.
7662 * non-zero surplus that it didn't copy), which in its current
8283 * by STACK_USER (using __cond_set() above) and we don't want to update
8379 * PERF_DATA_PAGE_SIZE requires PERF_SAMPLE_ADDR. If the user doesn't
8402 * Make sure this doesn't happen by using up to U16_MAX bytes
8654 * Clear all file-based filters at exec, they'll have to be
8767 * it can't have children.
9017 void perf_event_comm(struct task_struct *task, bool exec)
9031 .misc = exec ? PERF_RECORD_MISC_COMM_EXEC : 0,
9491 /* d_inode(NULL) won't be equal to any mapped user-space file */
9568 * Data tracing isn't supported yet and as such there is no need
9569 * to keep track of anything that isn't related to executable code:
11372 /* don't bother with children, they don't have their own filters */
11616 * Make sure that it doesn't contradict itself or the event's
12548 * Can't force remove events when pmu::event_unmapped()
12753 /* Lock so we don't race with concurrent unaccount */
12996 * events (they don't make sense as the cgroup will be different
13034 * Clone the parent's vma offsets: they are valid until exec()
13223 /* don't allow circular references */
13228 * Don't allow cross-cpu buffers
13240 * Mixing clocks in the same buffer is trouble you don't need.
13268 /* Can't redirect output if we've got an active mmap() */
13353 * If the required capabilities aren't available, checks for
13533 * serialize against exec() altering our credentials (and the
13631 /* Don't allow group of multiple hw events from different pmus */
14039 * Do destroy all inherited groups, we don't care about those
14059 * Match the refcount initialization. Make sure it doesn't happen
14130 * won't get any samples after PERF_RECORD_EXIT. We can however still
14333 * so we won't race with perf_event_{en, dis}able_family.
14488 * If the parent's context is a clone, pin it so it won't get
14499 * a fork we can't be exiting at the same time.
14520 * We can't hold ctx->lock when iterating the ->flexible_group list due
14720 * Early boot stage, the cpumask hasn't been set yet.